/* Authentication Styles */

/* Auth Section */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px 0;
}

.auth-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Auth Card */
.auth-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.auth-header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 10;
    font-size: 0.85rem;
    pointer-events: none;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    text-indent: 0;
}

/* Special padding for password inputs */
.input-group.password-input input {
    padding-right: 50px;
}

/* Ensure proper spacing for all input groups */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 50px;
}

/* Additional spacing for icons */
.input-group i:first-child {
    left: 18px !important;
    width: 12px !important;
    height: 12px !important;
}

.input-group input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.3s ease;
    z-index: 10;
    font-size: 0.9rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #dc2626;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: #ef4444;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 25%;
    background: #ef4444;
}

.strength-fill.fair {
    width: 50%;
    background: #f59e0b;
}

.strength-fill.good {
    width: 75%;
    background: #10b981;
}

.strength-fill.strong {
    width: 100%;
    background: #059669;
}

.strength-text {
    font-size: 0.8rem;
    color: #64748b;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #dc2626;
    border-color: #dc2626;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-password {
    color: #dc2626;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.terms-link {
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Auth Button */
.auth-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.auth-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.auth-btn:active {
    transform: translateY(0);
}

/* Auth Divider */
.auth-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    background: white;
    padding: 0 20px;
    color: #64748b;
    font-size: 0.9rem;
}

/* Social Login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.google-btn:hover {
    border-color: #db4437;
    color: #db4437;
}

.facebook-btn:hover {
    border-color: #4267B2;
    color: #4267B2;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.auth-footer p {
    color: #64748b;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Auth Image */
.auth-image {
    position: relative;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.auth-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.8) 0%, rgba(185, 28, 28, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-content {
    text-align: center;
    color: white;
}

.auth-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.auth-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.auth-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.feature i {
    font-size: 1.5rem;
    color: #fbbf24;
}

.feature span {
    font-weight: 600;
    font-size: 1rem;
}

/* Admin Login Styles */
.admin-login-body {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.admin-login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.admin-login-container {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.admin-login-card {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
}

.admin-login-header {
    text-align: center;
    margin-bottom: 40px;
}

.admin-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.admin-logo i {
    font-size: 2.5rem;
    color: #dc2626;
}

.admin-logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.admin-login-header p {
    color: #64748b;
    font-size: 1.1rem;
    margin: 0;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.admin-login-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.admin-login-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.4);
}

.admin-login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.admin-login-footer p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.admin-login-footer a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

.admin-login-footer a:hover {
    text-decoration: underline;
}

.admin-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.admin-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.admin-feature i {
    color: #dc2626;
    font-size: 1.2rem;
}

.admin-feature span {
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

/* Admin Info */
.admin-login-info {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
}

.admin-info-content h3 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.admin-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.admin-info-item {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.admin-info-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.admin-info-item i {
    font-size: 2.5rem;
    color: #fbbf24;
    margin-bottom: 15px;
}

.admin-info-item h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.admin-info-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Security Notice */
.security-notice {
    background: rgba(220, 38, 38, 0.1);
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    padding: 20px 0;
}

.security-content {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.security-content i {
    color: #dc2626;
    font-size: 1.5rem;
}

.security-text h4 {
    color: #dc2626;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.security-text p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container,
    .admin-login-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .auth-card,
    .admin-login-card {
        padding: 30px 20px;
    }
    
    .auth-header h2,
    .admin-logo h1 {
        font-size: 2rem;
    }
    
    .auth-content h3 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-image {
        height: 400px;
    }
    
    .admin-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Profile Styles */
.profile-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px 0;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.profile-info h3 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.profile-info p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 5px 0;
}

.profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
}

.profile-menu {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.menu-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: none;
    text-align: left;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 10px;
}

.menu-btn:hover {
    background: #f1f5f9;
    color: #374151;
}

.menu-btn.active {
    background: #dc2626;
    color: white;
}

.menu-btn i {
    font-size: 1.1rem;
}

.profile-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.profile-tab {
    display: none;
}

.profile-tab.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.tab-header h2 {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

/* Bookings List */
.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-card {
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.booking-card:hover {
    border-color: #dc2626;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.1);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.booking-id strong {
    color: #dc2626;
    font-size: 1.1rem;
}

.booking-date {
    color: #64748b;
    font-size: 0.9rem;
    margin-left: 10px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-confirmed {
    background: #d1fae5;
    color: #059669;
}

.status-completed {
    background: #dbeafe;
    color: #2563eb;
}

.status-cancelled {
    background: #fee2e2;
    color: #dc2626;
}

.route-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.route-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.route-item i {
    color: #dc2626;
    font-size: 0.9rem;
}

.route-arrow {
    color: #64748b;
}

.booking-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
}

.meta-item i {
    color: #dc2626;
    font-size: 0.8rem;
}

.booking-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #dc2626;
}

.booking-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.no-bookings {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.no-bookings i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-bookings h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #374151;
}

.no-bookings p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Profile Form */
.profile-form {
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Settings */
.settings-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.settings-section {
    padding: 25px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
}

.settings-section h3 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.notification-settings {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.account-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.close {
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close:hover {
    color: #dc2626;
    background: #f1f5f9;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 25px;
    border-top: 1px solid #e2e8f0;
}

.booking-details-modal {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-section h4 {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item label {
    font-weight: 600;
    color: #64748b;
    min-width: 120px;
}

.detail-item span {
    color: #374151;
    font-weight: 500;
}

@media (max-width: 480px) {
    .auth-section,
    .admin-login-section {
        padding: 20px 0;
    }
    
    .auth-container,
    .admin-login-container {
        padding: 0 15px;
        gap: 30px;
    }
    
    .auth-card,
    .admin-login-card {
        padding: 25px 15px;
    }
    
    .auth-header h2,
    .admin-logo h1 {
        font-size: 1.8rem;
    }
    
    .auth-content h3 {
        font-size: 1.8rem;
    }
    
    .auth-image {
        height: 300px;
    }
    
    /* Profile Responsive */
    .profile-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-sidebar {
        order: 2;
    }
    
    .profile-content {
        order: 1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .booking-meta {
        grid-template-columns: 1fr;
    }
    
    .booking-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .account-actions {
        flex-direction: column;
    }
}
