.my-bookings-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 80px;
    min-height: 70vh;
}

.booking-login-card {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.booking-login-icon {
    width: 60px;
    height: 60px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.booking-login-icon svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
}

.booking-login-title {
    font-size: 24px;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.booking-login-text {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.form-group-booking {
    margin-bottom: 20px;
    text-align: left;
}

.form-group-booking label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.form-input-booking {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input-booking:focus {
    border-color: var(--color-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.btn-find-booking {
    width: 100%;
    padding: 16px;
    background-color: #1e375a;
    /* Solid Navy Hex to ensure visibility */
    color: #ffffff !important;
    /* Force white text */
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(30, 55, 90, 0.3);
    margin-top: 20px;
    text-transform: uppercase;
}

.btn-find-booking:hover {
    background: #2c4a7c;
    /* Lighter navy on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 55, 90, 0.4);
}

.btn-find-booking:active {
    transform: translateY(0);
}

.form-input-booking {
    width: 100%;
    padding: 14px 16px;
    /* Taller inputs */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input-booking:focus {
    background: #fff;
    border-color: #d4af37;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
    outline: none;
}

.booking-results-area {
    display: none;
    /* Hidden by default */
    margin-top: 50px;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.booking-cards-container {
    display: grid;
    gap: 20px;
}

.booking-detail-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    transition: all 0.3s ease;
}

.booking-detail-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: var(--color-gold);
}

.bd-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-confirmed,
.status-completada {
    background: #e6f4ea;
    color: #1e7e34;
}

.status-pending,
.status-pendiente {
    background: #fff3cd;
    color: #856404;
}

.status-cancelled,
.status-cancelada {
    background: #f8d7da;
    color: #721c24;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

/* Helpers from inline styles */
.booking-header-title {
    color: var(--color-navy);
}

.booking-header-subtitle {
    color: #666;
}

.booking-email-highlight {
    font-weight: 500;
}

.btn-logout {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
}

/* --- MODERN MY-BOOKINGS STYLES (Used in /en version) --- */

.my-bookings-main {
    min-height: 80vh;
}

.bookings-hero {
    background: #1e375a;
    padding: 110px 0 30px;
    /* Reduced vertical padding */
    color: white;
    text-align: center;
    background-image: linear-gradient(rgba(30, 55, 90, 0.9), rgba(30, 55, 90, 0.9)), url('/img/Index/webp-1000X600/conductor1-1000-600.webp');
    background-size: cover;
    background-position: center;
}

.bookings-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #d4af37;
}

.bookings-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.bookings-content {
    padding: 60px 0;
    background: #f7fafc;
}

.booking-search-card {
    background: white;
    max-width: 700px;
    margin: 40px auto 0;
    /* Positive margin to separate from hero */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.search-header {
    text-align: center;
    margin-bottom: 30px;
}

.search-header h2 {
    color: #1e375a;
    margin-bottom: 10px;
}

.search-header p {
    color: #718096;
    font-size: 0.95rem;
}

.search-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .search-form .form-row {
        grid-template-columns: 1fr;
    }
}

.search-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-form label {
    font-weight: 500;
    color: #2d3748;
    font-size: 0.9rem;
}

.search-form input {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.search-form input:focus {
    border-color: #d4af37;
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.input-hint {
    font-size: 0.8rem;
    color: #a0aec0;
}

.btn-primary-large {
    width: 100%;
    background: #1e375a;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.btn-primary-large:hover {
    background: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.loading-state {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1e375a;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.booking-details-container {
    max-width: 900px;
    margin: 0 auto;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.btn-back-link {
    background: none;
    border: none;
    color: #1e375a;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
}

.customer-info-box h3 {
    font-size: 1.25rem;
    color: #2d3748;
}

.customer-info-box h3 span {
    color: #d4af37;
}

.customer-info-box p {
    color: #718096;
    font-size: 0.9rem;
}

.bookings-list {
    display: grid;
    gap: 20px;
}

.booking-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #edf2f7;
}

.card-header {
    background: #f8fafc;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edf2f7;
}

.id-badge {
    font-weight: 700;
    color: #1e375a;
    font-size: 0.9rem;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.status-confirmed {
    background: #c6f6d5;
    color: #22543d;
}

.status-badge.status-pending {
    background: #feebc8;
    color: #744210;
}

.status-badge.status-cancelled {
    background: #fed7d7;
    color: #822727;
}

.card-body {
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 30px;
}

@media (max-width: 768px) {
    .card-body {
        grid-template-columns: 1fr;
    }
}

.booking-info-row {
    display: flex;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.info-label {
    width: 120px;
    color: #718096;
    flex-shrink: 0;
}

.info-value {
    color: #2d3748;
    font-weight: 400;
}

.font-medium {
    font-weight: 600;
}

.booking-side-info {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #edf2f7;
}

.price-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.price-label {
    font-size: 0.75rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e375a;
}

.service-type {
    font-size: 0.85rem;
    color: #d4af37;
    font-weight: 600;
}

.booking-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-action-outline {
    background: white;
    border: 1px solid #cbd5e0;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #4a5568;
    transition: all 0.2s;
}

.btn-action-outline:hover {
    background: #f7fafc;
    border-color: #1e375a;
    color: #1e375a;
}

.btn-action-link {
    font-size: 0.85rem;
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.btn-action-link:hover {
    text-decoration: underline;
}