* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4aa;
    --primary-dark: #00b894;
    --primary-light: #00f5d4;
    --secondary-color: #2d3436;
    --background-dark: #1a1a1a;
    --background-card: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b2b2b2;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --success-color: #00d4aa;
}

/* Tema Oscuro con Gradientes */
body {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 50%, #1a1a1a 100%);
    background-attachment: fixed;
}

body .screen {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
}

body .app-header {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(45, 52, 54, 0.98) 100%);
    backdrop-filter: blur(10px);
}

body .bottom-nav {
    background: linear-gradient(to top, rgba(45, 52, 54, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
    backdrop-filter: blur(10px);
}

body .profile-card,
body .stat-card,
body .trip-item,
body .request-card,
body .active-trip-card {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.9) 0%, rgba(35, 35, 35, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 170, 0.1);
}

/* Tema Claro con Gradientes */
body.light-theme {
    --background-dark: #f5f7fa;
    --background-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --secondary-color: #e0e0e0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f5f7fa 100%);
    background-attachment: fixed;
}

body.light-theme .screen {
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.95) 0%, rgba(232, 236, 241, 0.95) 100%);
}

body.light-theme .app-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 247, 250, 0.98) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.light-theme .bottom-nav {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(245, 247, 250, 0.98) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

body.light-theme .profile-card,
body.light-theme .stat-card,
body.light-theme .trip-item,
body.light-theme .request-card,
body.light-theme .active-trip-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 250, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 170, 0.2);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

body.light-theme .screen {
    background-color: var(--background-dark);
}

body.light-theme .app-header,
body.light-theme .bottom-nav,
body.light-theme .settings-card,
body.light-theme .profile-card,
body.light-theme .stat-card,
body.light-theme .trip-item,
body.light-theme .request-card,
body.light-theme .active-trip-card {
    background: var(--background-card);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.light-theme .input-wrapper input,
body.light-theme .search-bar input {
    background: #f9f9f9;
    color: var(--text-primary);
    border: 1px solid #e0e0e0;
}

body.light-theme .modal-content {
    background: var(--background-card);
    color: var(--text-primary);
}

body.light-theme .dropdown-menu {
    background: var(--background-card);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.light-theme .dropdown-item:hover {
    background: rgba(0, 212, 170, 0.1);
}

body.light-theme .dropdown-divider {
    background: rgba(0, 0, 0, 0.1);
}

body.light-theme .trip-item::before {
    background: var(--primary-color);
}

body.light-theme #rating-comment {
    background: #f9f9f9;
    border-color: #e0e0e0;
    color: var(--text-primary);
}

body.light-theme .trip-detail-section {
    background: #f9f9f9;
}

body.light-theme .driver-info-card {
    background: rgba(0, 212, 170, 0.05);
}

body.light-theme .trip-info-item {
    background: rgba(0, 212, 170, 0.05);
}

body.light-theme .toast {
    background: var(--background-card);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.screen {
    display: none;
    min-height: 100vh;
    padding-bottom: 80px;
    animation: fadeIn 0.3s ease-in-out;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Login Screen */
.login-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--background-dark) 0%, #0a0a0a 100%);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: white;
}

.login-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.subtitle {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.tagline {
    color: var(--text-secondary);
    font-size: 14px;
}

.login-card {
    background: var(--background-card);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-group label i {
    color: var(--primary-color);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--text-secondary);
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    border-radius: 10px;
    background: white;
    color: var(--background-dark);
    font-size: 14px;
}

.input-wrapper input::placeholder {
    color: var(--text-secondary);
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 170, 0.4);
}

.forgot-password {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.forgot-password:hover {
    color: var(--primary-dark);
}

/* App Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--background-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.greeting {
    display: flex;
    flex-direction: column;
}

.greeting span:first-child {
    font-size: 14px;
    color: var(--text-primary);
}

.username {
    font-size: 12px;
    color: var(--text-secondary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-icon {
    position: relative;
    font-size: 20px;
    color: var(--text-primary);
    cursor: pointer;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.menu-icon {
    font-size: 20px;
    color: var(--text-primary);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-icon:hover {
    transform: rotate(90deg);
}

/* Menú Desplegable */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 20px;
    background: var(--background-card);
    border-radius: 15px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 245, 212, 0.05) 100%);
    padding-left: 25px;
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.dropdown-item:hover i {
    transform: scale(1.2);
}

.dropdown-item span {
    flex: 1;
}

.badge-small {
    background: var(--danger-color);
    color: white;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

.dropdown-item.logout {
    color: var(--danger-color);
}

.dropdown-item.logout i {
    color: var(--danger-color);
}

.dropdown-item.logout:hover {
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.1) 0%, rgba(192, 57, 43, 0.05) 100%);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-card);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px 15px;
    transition: all 0.3s;
    font-size: 12px;
}

.nav-item i {
    font-size: 20px;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item:hover {
    color: var(--primary-color);
}

/* Content */
.content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Emergency Banner */
.emergency-banner {
    background: var(--danger-color);
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.emergency-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.emergency-banner i {
    font-size: 24px;
    color: white;
}

.emergency-banner strong {
    display: block;
    font-size: 16px;
    margin-bottom: 3px;
}

.emergency-banner p {
    font-size: 12px;
    opacity: 0.9;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease;
}

.action-buttons .action-btn {
    animation: slideIn 0.4s ease backwards;
}

.action-buttons .action-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.action-buttons .action-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.action-buttons .action-btn:nth-child(3) {
    animation-delay: 0.3s;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.action-btn:hover::before {
    width: 300px;
    height: 300px;
}

.action-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.action-btn.primary {
    background: var(--primary-color);
    color: white;
}

.action-btn.secondary {
    background: var(--background-card);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn.emergency {
    background: var(--danger-color);
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.btn-content {
    flex: 1;
}

.btn-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.btn-content p {
    font-size: 12px;
    opacity: 0.9;
}

.action-btn i:last-child {
    font-size: 18px;
    opacity: 0.7;
}

/* Recent Trips Section */
.recent-trips-section {
    margin-top: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--text-primary);
}

.see-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.see-all-link:hover {
    color: var(--primary-dark);
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.stat-card {
    background: var(--background-card);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scaleIn 0.5s ease backwards;
}

.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
    color: white;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Page Title */
.page-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-tab {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-tab:hover {
    border-color: var(--primary-color);
}

/* Search Bar */
.search-bar {
    position: relative;
    margin-bottom: 20px;
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-bar input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    border-radius: 10px;
    background: var(--background-card);
    color: var(--text-primary);
    font-size: 14px;
}

.search-bar input::placeholder {
    color: var(--text-secondary);
}

/* Trip Summary Cards */
.trip-summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.summary-card {
    background: var(--background-card);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.summary-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.summary-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Trips List */
.trips-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trip-item {
    background: var(--background-card);
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideIn 0.4s ease backwards;
    position: relative;
    overflow: hidden;
}

.trip-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.trip-item:hover::before {
    transform: scaleY(1);
}

.trip-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.trip-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.trip-badge.custom {
    background: var(--primary-color);
    color: white;
}

.trip-badge.requested {
    background: var(--warning-color);
    color: white;
}

.trip-badge.progress {
    background: var(--primary-color);
    color: white;
}

.trip-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trip-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    color: var(--text-secondary);
}

.trip-info i {
    color: var(--primary-color);
}

/* Map Container */
.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

#map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Estilos para Leaflet */
.leaflet-container {
    background: var(--background-dark);
    font-family: inherit;
}

.leaflet-popup-content-wrapper {
    background: var(--background-card);
    color: var(--text-primary);
    border-radius: 10px;
}

.leaflet-popup-tip {
    background: var(--background-card);
}

.leaflet-control-zoom a {
    background: var(--background-card);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.leaflet-control-zoom a:hover {
    background: var(--primary-color);
    color: white;
}

/* Autocompletado de direcciones */
.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-card);
    border-radius: 10px;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
    color: var(--text-primary);
    font-size: 14px;
}

.suggestion-item:hover {
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary-color);
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Geocoder control */
.leaflet-control-geocoder {
    background: var(--background-card);
    border-radius: 10px;
}

.leaflet-control-geocoder a {
    background: var(--background-card);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.leaflet-control-geocoder-form {
    background: var(--background-card);
    color: var(--text-primary);
}

.leaflet-control-geocoder-form input {
    background: var(--background-dark);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.leaflet-control-geocoder-alternatives {
    background: var(--background-card);
}

.leaflet-control-geocoder-alternatives a {
    color: var(--text-primary);
}

.leaflet-control-geocoder-alternatives a:hover {
    background: rgba(0, 212, 170, 0.1);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.map-info-card {
    background: var(--background-card);
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.map-info-card i {
    color: var(--primary-color);
}

.map-control-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--background-dark);
    z-index: 10;
    transition: all 0.3s;
}

.map-control-btn:hover {
    transform: scale(1.1);
}

.start-trip-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.start-trip-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 170, 0.4);
}

/* Profile Card */
.profile-card {
    background: var(--background-card);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 50px;
    color: white;
}

.profile-name {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.profile-email {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 14px;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.profile-stat {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Profile Menu */
.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-menu-item {
    background: var(--background-card);
    border-radius: 15px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.profile-menu-item:hover {
    transform: translateX(5px);
    background: rgba(0, 212, 170, 0.1);
}

.profile-menu-item i:first-child {
    color: var(--primary-color);
    font-size: 20px;
    width: 24px;
}

.profile-menu-item span {
    flex: 1;
    font-size: 16px;
}

.profile-menu-item i:last-child {
    color: var(--text-secondary);
}

.profile-menu-item.logout {
    color: var(--danger-color);
}

.profile-menu-item.logout i:first-child {
    color: var(--danger-color);
}

/* Edit Profile Screen */
.edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-radius: 0 0 20px 20px;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-line {
    width: 4px;
    height: 30px;
    background: white;
    border-radius: 2px;
}

.edit-header h1 {
    font-size: 24px;
    color: white;
}

.close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--danger-color);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.close-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.profile-picture-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-picture-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 60px;
    color: white;
}

.change-photo-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.change-photo-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.edit-profile-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Settings Screen */
.settings-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background-card);
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.back-btn:hover {
    background: var(--primary-color);
    color: white;
}

.settings-header h1 {
    font-size: 24px;
}

.settings-section {
    margin-bottom: 30px;
}

.settings-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    padding: 0 20px;
}

.settings-card {
    background: var(--background-card);
    border-radius: 15px;
    padding: 20px;
    margin: 0 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.setting-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

.theme-selector {
    display: flex;
    gap: 10px;
}

.theme-btn {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.theme-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    animation: scaleIn 0.3s ease;
}

.modal-content {
    background: var(--background-card);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-content.large {
    max-width: 500px;
}

.modal-content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-primary);
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-secondary {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.trip-form {
    text-align: left;
}

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

.trip-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.trip-form label i {
    color: var(--primary-color);
}

.trip-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.trip-form .input-wrapper input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: none;
    border-radius: 10px;
    background: var(--background-dark);
    color: var(--text-primary);
    font-size: 14px;
}

.location-btn {
    position: absolute;
    right: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.location-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* User Type Selector */
.user-type-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.user-type-btn {
    flex: 1;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 14px;
}

.user-type-btn i {
    font-size: 24px;
}

.user-type-btn.active {
    border-color: var(--primary-color);
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary-color);
}

.user-type-btn:hover {
    border-color: var(--primary-color);
}

/* Online Status Card */
.online-status-card {
    background: var(--background-card);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}

.status-indicator i {
    font-size: 12px;
}

.status-indicator.online i {
    color: var(--success-color);
    animation: pulse 2s infinite;
}

.status-indicator.offline i {
    color: var(--text-secondary);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Ride Request Card */
.request-card {
    background: var(--background-card);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideIn 0.4s ease backwards;
    position: relative;
    overflow: hidden;
}

.request-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.request-card:hover::before {
    transform: scaleY(1);
}

.request-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.passenger-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.passenger-info strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.passenger-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

.request-details {
    margin-bottom: 15px;
}

.request-details .route-point {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.request-details .route-point:last-child {
    margin-bottom: 0;
}

.route-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.route-icon.start {
    background: var(--primary-color);
    color: white;
}

.route-icon.end {
    background: var(--warning-color);
    color: white;
}

.request-actions {
    display: flex;
    gap: 10px;
}

.request-actions button {
    flex: 1;
}

/* Active Trip Card */
.active-trip-card {
    background: var(--background-card);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
}

.trip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trip-route {
    margin-bottom: 25px;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.route-point:last-child {
    margin-bottom: 0;
}

.route-line {
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    margin-left: 15px;
    margin-bottom: 15px;
}

.route-info strong {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.route-info p {
    font-size: 16px;
    color: var(--text-primary);
}

.trip-actions {
    display: flex;
    gap: 15px;
}

.trip-actions button {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.no-active-trips {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-active-trips i {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    opacity: 0.5;
}

.no-active-trips p {
    font-size: 18px;
}

/* Trip Estimate */
.trip-estimate {
    background: rgba(0, 212, 170, 0.1);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
}

.estimate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.estimate-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.estimate-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Rating */
.rating-container {
    text-align: center;
    padding: 20px 0;
}

.stars-rating {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 32px;
}

.stars-rating i {
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stars-rating i:hover,
.stars-rating i.active {
    color: var(--warning-color);
    transform: scale(1.2);
}

.stars-rating i.active ~ i {
    color: #ddd;
}

#rating-comment {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--background-dark);
    color: var(--text-primary);
    font-family: inherit;
    resize: vertical;
    margin-bottom: 20px;
}

/* Trip Details */
.trip-details-content {
    margin-bottom: 20px;
}

.trip-detail-section {
    background: var(--background-card);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
}

.trip-detail-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.driver-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
}

.driver-info-card .avatar-small {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.driver-info-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.driver-info-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.trip-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.trip-info-item {
    text-align: center;
    padding: 15px;
    background: rgba(0, 212, 170, 0.05);
    border-radius: 10px;
}

.trip-info-item i {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.trip-info-item strong {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

.trip-info-item span {
    font-size: 12px;
    color: var(--text-secondary);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--background-card);
    color: var(--text-primary);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 3000;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--danger-color);
}

.toast.warning {
    border-left: 4px solid var(--warning-color);
}

.toast.info {
    border-left: 4px solid var(--primary-color);
}

/* Trip Type Tabs */
.trip-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.trip-type-tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 12px;
}

.trip-type-tab i {
    font-size: 20px;
}

.trip-type-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.trip-type-tab:hover {
    color: var(--primary-color);
}

.trip-type-form {
    display: none;
    animation: fadeIn 0.3s ease;
}

.trip-type-form.active {
    display: block;
}

/* Quick Trips List */
.quick-trips-list {
    max-height: 400px;
    overflow-y: auto;
}

.quick-trip-card {
    background: var(--background-card);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.quick-trip-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 170, 0.2);
}

.quick-trip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.quick-trip-driver {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-trip-driver strong {
    display: block;
    font-size: 16px;
    margin-bottom: 3px;
}

.quick-trip-driver p {
    font-size: 12px;
    color: var(--text-secondary);
}

.quick-trip-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.quick-trip-route {
    margin-bottom: 15px;
}

.quick-trip-route-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.quick-trip-route-item i {
    color: var(--primary-color);
    width: 20px;
}

.quick-trip-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.quick-trip-seats {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--success-color);
}

/* Days Selector */
.days-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.day-checkbox {
    flex: 1;
    min-width: 60px;
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--background-dark);
}

.day-checkbox input {
    display: none;
}

.day-checkbox span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.day-checkbox input:checked + span {
    color: var(--primary-color);
}

.day-checkbox:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(0, 212, 170, 0.1);
}

/* Route Form Card */
.route-form-card {
    background: var(--background-card);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
}

/* Routes List */
.routes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.route-card {
    background: var(--background-card);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s;
    border-left: 4px solid var(--primary-color);
}

.route-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.route-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.route-card-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.route-card-schedule {
    font-size: 12px;
    color: var(--text-secondary);
}

.route-card-route {
    margin-bottom: 15px;
}

.route-card-route-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.route-card-route-item i {
    color: var(--primary-color);
    width: 20px;
}

.route-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.route-card-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.route-card-seats {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--text-secondary);
}

.route-card-actions {
    display: flex;
    gap: 10px;
}

.route-card-actions button {
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.route-card-actions .btn-edit {
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary-color);
}

.route-card-actions .btn-delete {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

.route-card-actions button:hover {
    transform: scale(1.05);
}

.route-card-status {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.route-card-status.active {
    background: rgba(0, 212, 170, 0.2);
    color: var(--primary-color);
}

.route-card-status.inactive {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.route-card-driver {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 212, 170, 0.05);
    border-radius: 10px;
}

.route-card-driver .avatar-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.route-card-driver strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.route-card-driver p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.refresh-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary-color);
}

.refresh-btn i {
    transition: transform 0.3s ease;
}

.refresh-btn:hover i {
    transform: rotate(180deg);
}

.routes-filters {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
    flex-wrap: wrap;
}

/* Accepted Trips */
.accepted-trip-card {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.9) 0%, rgba(35, 35, 35, 0.9) 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--success-color);
    transition: all 0.3s;
    cursor: pointer;
}

.accepted-trip-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 212, 170, 0.2);
}

.driver-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.driver-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 212, 170, 0.3);
}

.driver-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.driver-info p {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.driver-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.driver-stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 10px;
}

.driver-stat-item strong {
    display: block;
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.driver-stat-item span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Driver Details Modal */
.driver-details-content {
    margin-bottom: 20px;
}

.driver-profile-section {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 245, 212, 0.05) 100%);
    border-radius: 15px;
    margin-bottom: 20px;
}

.driver-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 40px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.4);
}

.vehicle-info {
    background: var(--background-card);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
}

.vehicle-info h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vehicle-details {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.vehicle-detail-item {
    text-align: center;
}

.vehicle-detail-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.vehicle-detail-item strong {
    display: block;
    margin-bottom: 5px;
}

.vehicle-detail-item span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Statistics */
.statistics-content {
    margin-bottom: 20px;
}

.stat-chart {
    background: var(--background-card);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
}

.stat-chart h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 150px;
    padding: 10px 0;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 5px 5px 0 0;
    min-height: 20px;
    position: relative;
    transition: all 0.3s;
}

.chart-bar:hover {
    opacity: 0.8;
    transform: scaleY(1.05);
}

.chart-bar-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.chart-bar-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: bold;
    color: var(--primary-color);
}

/* About Modal */
.about-content {
    text-align: center;
    padding: 20px 0;
}

.logo-circle-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 50px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.4);
    animation: pulse 2s infinite;
}

.about-content h2 {
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.version {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.description {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.about-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 10px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.about-link:hover {
    background: rgba(0, 212, 170, 0.2);
    transform: translateY(-2px);
}

/* Light theme adjustments */
body.light-theme .accepted-trip-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 250, 0.95) 100%);
    border-left-color: var(--primary-color);
}

body.light-theme .driver-profile-section {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05) 0%, rgba(0, 245, 212, 0.02) 100%);
}

body.light-theme .vehicle-info,
body.light-theme .stat-chart {
    background: rgba(255, 255, 255, 0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .trip-summary-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .profile-stats {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 20px;
    }
    
    .content {
        padding: 15px;
    }
    
    .filter-tabs {
        gap: 5px;
    }
    
    .filter-tab {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* ============ PANTALLA DE USUARIOS REGISTRADOS ============ */

.users-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--background-card);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0, 212, 170, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.users-filters {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 170, 0.3);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    color: white;
}

.users-list {
    padding: 0 20px 100px;
}

.user-card {
    background: var(--background-card);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0, 212, 170, 0.1);
    transition: all 0.3s ease;
}

.user-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 212, 170, 0.2);
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
}

.user-info h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.user-email {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.user-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.user-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.user-type.passenger {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.user-type.driver {
    background: rgba(0, 212, 170, 0.2);
    color: var(--primary-color);
}

.user-phone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-secondary);
}

.user-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #f39c12;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.user-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.setting-item.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.setting-item.clickable:hover {
    background: rgba(0, 212, 170, 0.1);
    border-radius: 10px;
    padding: 10px;
    margin: -10px;
}

.setting-item.clickable i.fa-chevron-right {
    color: var(--text-secondary);
    font-size: 14px;
}

.loading-spinner {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.loading-spinner i {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    opacity: 0.5;
}

.error-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--danger-color);
}

.error-message i {
    font-size: 32px;
    margin-bottom: 15px;
}

.info-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--primary-color);
    background: rgba(0, 212, 170, 0.1);
    border-radius: 15px;
    margin: 20px;
}

.info-message i {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-message p {
    margin: 10px 0;
    line-height: 1.6;
}

/* Tema claro para usuarios */
body.light-theme .stat-card,
body.light-theme .user-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 212, 170, 0.2);
}

body.light-theme .user-info h3 {
    color: var(--text-primary-dark);
}

body.light-theme .filter-btn {
    border-color: rgba(0, 212, 170, 0.3);
    color: var(--text-secondary-dark);
}

body.light-theme .filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .users-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .user-card {
        padding: 15px;
    }
    
    .user-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .user-meta {
        flex-direction: column;
        gap: 8px;
    }
}

