/* css/driver.css */
:root {
    --primary: #F59E0B;
    --primary-dark: #030e00;
    --secondary: #111827;
    --success: #10B981;
    --danger: #EF4444;
    --info: #3B82F6;
    --warning: #F59E0B;
    --sidebar-width: 280px;
    --topbar-height: 70px;
}

/* Driver Container */
.driver-container {
    min-height: 100vh;
    background-color: #f9fafb;
    font-family: 'Inter', sans-serif;
}

/* Sidebar Styles */
.driver-sidebar {
    width: var(--sidebar-width);
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 50;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    color: white;
    font-size: 1.25rem;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.logo-text p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #117900;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.nav-link:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.nav-link.active {
    background-color: #c9ffbd;
    color: var(--primary-dark);
    font-weight: 600;
}

.nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.125rem;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background-color: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar i {
    color: #6b7280;
    font-size: 1.25rem;
}

.user-info {
    flex: 1;
}

.user-info .name {
    font-weight: 600;
    color: #111827;
    font-size: 0.875rem;
}

.user-info .role {
    font-size: 0.75rem;
    color: #6b7280;
}

.logout-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.logout-btn:hover {
    color: #ef4444;
    background-color: #fef2f2;
}

/* Top Bar Styles */
.driver-topbar {
    height: var(--topbar-height);
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    right: 0;
    left: var(--sidebar-width);
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    transition: left 0.3s ease;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #4b5563;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.menu-toggle:hover {
    background-color: #f3f4f6;
}

.page-title h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.page-title p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.current-time {
    text-align: right;
}

.time-date {
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 500;
}

.time-clock {
    font-size: 0.75rem;
    color: #9ca3af;
}

.driver-info {
    font-size: 0.875rem;
    color: #4b5563;
    padding: 0.5rem 1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-indicator.available {
    background-color: #d1fae5;
    color: #065f46;
}

.status-indicator.offline {
    background-color: #f3f4f6;
    color: #6b7280;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.available .status-dot {
    background-color: #10b981;
}

.status-indicator.offline .status-dot {
    background-color: #9ca3af;
}

/* Main Content Area */
.dashboard-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    margin-top: var(--topbar-height);
    padding: 1.5rem;
    transition: margin-left 0.3s ease;
    min-height: calc(100vh - var(--topbar-height));
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .driver-sidebar {
        transform: translateX(-100%);
    }

    .driver-sidebar.mobile-open {
        transform: translateX(0);
    }

    .driver-topbar {
        left: 0;
    }

    .dashboard-main {
        margin-left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 45;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .current-time {
        display: none;
    }
}

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.card-header p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.25rem 0 0 0;
}

.card-body {
    padding: 0.4rem;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border-left: 4px solid;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.stat-card.blue {
    border-left-color: #3b82f6;
}

.stat-card.green {
    border-left-color: #10b981;
}

.stat-card.yellow {
    border-left-color: #f59e0b;
}

.stat-card.purple {
    border-left-color: #8b5cf6;
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.stat-card-title {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card.blue .stat-card-icon {
    background-color: #dbeafe;
    color: #3b82f6;
}

.stat-card.green .stat-card-icon {
    background-color: #d1fae5;
    color: #10b981;
}

.stat-card.yellow .stat-card-icon {
    background-color: #fef3c7;
    color: #f59e0b;
}

.stat-card.purple .stat-card-icon {
    background-color: #f3e8ff;
    color: #8b5cf6;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin: 0.5rem 0;
}

.stat-card-change {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-card-change.positive {
    color: #10b981;
}

.stat-card-change.negative {
    color: #ef4444;
}

/* Trip Cards */
.trip-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.trip-card.pending {
    border-left: 4px solid #f59e0b;
    background-color: #fefce8;
}

.trip-card.accepted {
    border-left: 4px solid #10b981;
    background-color: #f0fdf4;
}

.trip-card.in-progress {
    border-left: 4px solid #3b82f6;
    background-color: #eff6ff;
}

.trip-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.trip-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.trip-header p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.25rem 0 0 0;
}

.trip-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-group {
    padding: 0.75rem;
    background-color: #f9fafb7a;
    border-radius: 0.5rem;
}

.detail-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.detail-meta {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.25rem 0 0 0;
}

.trip-route {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
}

.route-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.route-point {
    font-size: 0.875rem;
    color: #374151;
    margin: 0.25rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.route-point:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("https://cdn-icons-png.flaticon.com/256/7997/7997095.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-right: 4px;
}


.trip-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.trip-fare {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
}

.trip-actions {
    display: flex;
    gap: 0.5rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-accepted {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-in-progress {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-completed {
    background-color: #f3f4f6;
    color: #374151;
}

.badge-rejected {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-success:hover {
    background-color: #0da271;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-outline {
    background-color: white;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-outline:hover {
    background-color: #f9fafb;
}

/* Notifications */
.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    max-width: 24rem;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-content {
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.notification-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.notification-info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.notification-warning {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Loading States */
.loading-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #e5e7eb;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Utility Classes */
.hidden {
    display: none;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.mr-2 {
    margin-right: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.w-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

#locationInfo {
    display: none;
}

/* Add these styles to the existing driver.css file */

/* Form Controls */

/* =========================================
   Modern Design Upgrade (Glassmorphism & Gradients)
   ========================================= */

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, #FFB700 0%, #FF8C00 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
}

.bg-gradient-glass-yellow {
    background: linear-gradient(135deg, rgba(255, 183, 0, 0.1) 0%, rgba(255, 140, 0, 0.2) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 183, 0, 0.1);
}

.bg-gradient-glass-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.2) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.bg-gradient-glass-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.2) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

/* Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
}

/* Modern Stats Cards Overrides */
.stat-card {
    border: none !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-card.yellow {
    background: linear-gradient(145deg, #ffffff 0%, #fffbf0 100%);
}

.stat-card.green {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
}

.stat-card.blue {
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.1;
}

.stat-card.yellow::before {
    background: var(--warning);
}

.stat-card.green::before {
    background: var(--success);
}

.stat-card.blue::before {
    background: var(--info);
}

.stat-card-value {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: -webkit-linear-gradient(#333, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modern Trip Cards */
.trip-card {
    border: none;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border-radius: 1rem;
    padding: 1.5rem;
}

.trip-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.trip-card.pending {
    border-left: 5px solid #F59E0B;
}

.trip-card.accepted {
    border-left: 5px solid #10B981;
}

.trip-card.in-progress {
    border-left: 5px solid #3B82F6;
}

/* Enhanced Buttons */
.btn {
    border-radius: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Toggle Switch Glow */
#availabilityToggle {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#availabilityToggle.bg-green-500 {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #374151;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

/* Table improvements */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background-color: #f9fafb;
}

.data-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e5e7eb;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.875rem;
}

.data-table tbody tr:hover {
    background-color: #f9fafb;
}

/* Date picker customization */
input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
    color: #374151;
}

input[type="date"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Responsive table */
@media (max-width: 768px) {
    .data-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table th,
    .data-table td {
        min-width: 120px;
    }
}

/* Summary cards */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.summary-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.summary-value {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

/* Empty and error states */
.state-container {
    padding: 3rem 1rem;
    text-align: center;
}

.state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.state-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.state-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Profile Page Styles - Add to driver.css */

/* Tab styles */
.tab-button {
    transition: all 0.3s ease;
    position: relative;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.tab-button.active {
    color: #111827;
    font-weight: 600;
}

.tab-button.active::after {
    background-color: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Profile photo preview */
.profile-photo-preview {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #e5e7eb;
    transition: border-color 0.3s ease;
}

.profile-photo-preview:hover {
    border-color: var(--primary);
}

/* Form validation */
.form-control.invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control:focus.invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Error message */
.error-message {
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.25rem;
    display: block;
}

/* Success message */
.success-message {
    font-size: 0.75rem;
    color: #10b981;
    margin-top: 0.25rem;
    display: block;
}

/* Loading overlay for profile photo */
.photo-loading {
    position: relative;
}

.photo-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Read-only inputs */
input:disabled,
select:disabled,
textarea:disabled {
    background-color: #f9fafb;
    cursor: not-allowed;
}

/* File upload button */
.file-upload-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload-btn:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.file-upload-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Info boxes */
.info-box {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.info-box-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.info-box-content {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tab-button {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }

    .profile-photo-preview {
        width: 80px;
        height: 80px;
    }

    .dashboard-card {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
}

/* Password strength indicator */
.password-strength {
    margin-top: 0.25rem;
    height: 4px;
    border-radius: 2px;
    background-color: #e5e7eb;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength.weak .password-strength-bar {
    background-color: #ef4444;
    width: 33%;
}

.password-strength.medium .password-strength-bar {
    background-color: #f59e0b;
    width: 66%;
}

.password-strength.strong .password-strength-bar {
    background-color: #10b981;
    width: 100%;
}

/* Profile info grid */
.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.profile-info-item {
    padding: 0.75rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.profile-info-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.profile-info-value {
    font-size: 0.875rem;
    color: #111827;
    font-weight: 500;
}

.fa-phone-alt:before,
.fa-phone-flip:before {
    content: "\f095";
}