body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #f3f4f6;
    margin: 0;
    color: #333;
    line-height: 1.6;
}

/* Vendor Cards */
.vendor-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vendor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.vendor-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vendor-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.vendor-info {
    width: 100%;
}

.vendor-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.vendor-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-top: 2px;
}

.status-badge i {
    margin-right: 4px;
}

.status-badge.active {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Drivers Table */
.drivers-table-container {
    padding: 20px;
    overflow-x: auto;
}

.drivers-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.drivers-table th {
    background-color: #f8fafc;
    color: #64748b;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 2px solid #e2e8f0;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.drivers-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.drivers-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Status Badges */
.status-active, .status-inactive {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.status-active {
    background-color: #dcfce7;
    color: #166534;
}

.status-inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Booking Links */
.booking-link {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: #f1f5f9;
    border-radius: 6px;
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.booking-link:hover {
    background: #e2e8f0;
    color: #1e40af;
}

.booking-link.live {
    background: #fffbeb;
    color: #d97706;
    font-weight: 600;
}

.booking-link.live:hover {
    background: #fef3c7;
}

/* No drivers message */
.no-drivers {
    padding: 20px;
    text-align: center;
    color: #64748b;
    font-style: italic;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vendor-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .drivers-table-container {
        padding: 10px;
    }
    
    .drivers-table th, 
    .drivers-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

/* Login Page Styles */
.login-container {
    width: 370px;
    margin: 90px auto;
    background: #fff;
    padding: 40px 30px 30px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    position: relative;
}
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}
.logo-icon {
    width: 54px;
    height: 54px;
    background: #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 2px 8px rgba(99,102,241,0.15);
}
.login-container h2 {
    text-align: center;
    margin-bottom: 18px;
    color: #333;
    font-weight: 700;
    letter-spacing: 1px;
}
.login-container input[type=email],
.login-container input[type=password] {
    width: 100%;
    padding: 12px 10px;
    margin: 10px 0 18px 0;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    background: #f3f4f6;
    transition: border 0.2s;
}
.login-container input[type=email]:focus,
.login-container input[type=password]:focus {
    border: 1.5px solid #6366f1;
    outline: none;
    background: #fff;
}
.login-container button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(99,102,241,0.10);
}
.login-container button:hover {
    background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%);
    box-shadow: 0 4px 16px rgba(99,102,241,0.18);
}
.login-container .error {
    color: #e11d48;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 500;
}
@media (max-width: 480px) {
    .login-container {
        width: 95%;
        padding: 25px 8px 20px 8px;
    }
}

/* Existing admin panel styles below (header, sidebar, etc.) */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 64px;
    background: #fff;
    color: #3730a3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    z-index: 1001;
    box-shadow: 0 2px 12px rgba(99,102,241,0.10);
}
.header .logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}
.header .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1 60%, #818cf8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(99,102,241,0.10);
}
.header h1 {
    margin: 0;
    font-size: 1.45rem;
    letter-spacing: 1px;
    font-weight: 700;
}
.header .admin-welcome {
    font-size: 1rem;
    color: #6366f1;
    font-weight: 500;
    background: #eef2ff;
    padding: 7px 18px;
    border-radius: 20px;
    box-shadow: 0 1px 4px rgba(99,102,241,0.07);
}
.sidebar {
    position: fixed;
    top: 64px;
    left: 0;
    width: 220px;
    height: 100vh;
    background: linear-gradient(180deg, #6366f1 80%, #818cf8 100%);
    color: #fff;
    padding-top: 32px;
    box-shadow: 2px 0 12px rgba(99,102,241,0.08);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar ul li {
    margin-bottom: 10px;
}
.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.08rem;
    padding: 12px 28px 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 8px 0 0 8px;
    transition: background 0.18s, color 0.18s;
    font-weight: 500;
}
.sidebar ul li a.active, .sidebar ul li a:hover {
    background: #fff;
    color: #6366f1;
}
.main-content {
    margin-left: 220px;
    padding: 90px 36px 36px 36px;
    min-height: 100vh;
    background: #f3f4f6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(99,102,241,0.10);
    padding: 36px 24px;
}
h2 { color: #3730a3; margin-bottom: 22px; font-size: 1.35rem; }
table { border-collapse: collapse; width: 100%; background: #fff; }
th, td { border: 1px solid #e5e7eb; padding: 12px 10px; text-align: left; }
th { background: #eef2ff; color: #3730a3; font-weight: 700; }
tr:nth-child(even) { background: #f9fafb; }
tr:hover { background: #e0e7ff; transition: background 0.2s; }
.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(99,102,241,0.10);
    padding: 40px 30px;
    max-width: 400px;
    margin: 60px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card .icon {
    font-size: 2.5rem;
    color: #6366f1;
    margin-bottom: 18px;
}
.card .count {
    font-size: 2.8rem;
    font-weight: 700;
    color: #3730a3;
    margin-bottom: 8px;
}
.card .label {
    font-size: 1.2rem;
    color: #6366f1;
    font-weight: 500;
}
@media (max-width: 1100px) {
    .container { padding: 10px 2px; }
    table, th, td { font-size: 13px; }
}
@media (max-width: 900px) {
    .sidebar { width: 60px; padding-top: 10px; }
    .sidebar ul li a { font-size: 0.95rem; padding: 10px 10px; text-align: center; gap: 0; justify-content: center; }
    .main-content { margin-left: 60px; padding: 90px 5px 20px 5px; }
    .header { padding: 0 10px; }
}
@media (max-width: 700px) {
    .container { padding: 2px 0; }
    table, th, td { font-size: 12px; }
    .main-content { padding: 80px 2px 10px 2px; }
}

/* Settings (Change Password) Form Styles */
.settings-form-container {
    max-width: 420px;
    margin: 60px auto 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(99,102,241,0.10);
    padding: 36px 28px 28px 28px;
}
.settings-form-container h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #3730a3;
    font-size: 1.3rem;
    font-weight: 700;
}
.settings-form-container label {
    display: block;
    margin-bottom: 7px;
    color: #6366f1;
    font-weight: 500;
    font-size: 1rem;
}
.settings-form-container input[type=password],
.settings-form-container input[type=email] {
    width: 100%;
    padding: 11px 10px;
    margin-bottom: 18px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    background: #f3f4f6;
    transition: border 0.2s;
}
.settings-form-container input[type=password]:focus,
.settings-form-container input[type=email]:focus {
    border: 1.5px solid #6366f1;
    outline: none;
    background: #fff;
}
.settings-form-container button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(99,102,241,0.10);
    margin-top: 8px;
}
.settings-form-container button:hover {
    background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%);
    box-shadow: 0 4px 16px rgba(99,102,241,0.18);
}
.settings-form-container .success {
    color: #16a34a;
    background: #dcfce7;
    border-radius: 6px;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
}
.settings-form-container .error {
    color: #e11d48;
    background: #fee2e2;
    border-radius: 6px;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Modal (Popup) Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
}

.modal-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #6366f1;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #4f46e5;
}

.modal-details {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 32px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 6px;
}
.modal-details dt, .modal-details dd {
    margin: 0;
    padding: 0;
    float: none;
}
.modal-details dt {
    font-size: 0.78rem;
    color: #6366f1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    opacity: 0.85;
}
.modal-details dd {
    color: #222;
    font-size: 1.05rem;
    font-weight: 500;
    word-break: break-word;
    margin-bottom: 0;
}
.modal-details .modal-field {
    background: #f3f4f6;
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    padding: 10px 14px 8px 14px;
    box-shadow: 0 1px 4px rgba(99,102,241,0.06);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s, border 0.18s;
}
.modal-details .modal-field:hover {
    box-shadow: 0 2px 12px rgba(99,102,241,0.13);
    border-color: #6366f1;
}
@media (max-width: 600px) {
    .modal-box {
        max-width: 98vw;
        padding: 16px 4px 12px 4px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .modal-details {
        grid-template-columns: 1fr;
        gap: 12px 0;
        max-height: 50vh;
    }
} 