/* ============================================================================
   AGENDAR.HTML - BOOKING PAGE STYLES
   ============================================================================ */

.booking-main {
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
    background: var(--charcoal-dark);
}

.booking-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-label {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--cream);
    margin-bottom: 1rem;
}

.page-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 1.5rem auto;
}

.page-description {
    font-size: 1rem;
    opacity: 0.8;
}

/* Quick Login Section */
.quick-login-section {
    margin-bottom: 2rem;
}

.quick-login-card {
    background: linear-gradient(135deg, rgba(196, 163, 90, 0.1), rgba(196, 163, 90, 0.05));
    border: 1px solid rgba(196, 163, 90, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.quick-login-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.quick-login-card h3 i {
    color: var(--gold);
    margin-right: 0.5rem;
}

.quick-login-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.quick-login-form {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    max-width: 200px;
    margin: 0 auto;
}

.quick-login-form input {
    width: 120px;
    padding: 0.75rem 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-align: center;
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--gold);
}

.quick-login-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.1);
}

.quick-login-form input::placeholder {
    opacity: 0.3;
}

.quick-login-form button {
    padding: 0.75rem 1rem;
    min-width: 50px;
}

.quick-login-hint {
    font-size: 0.85rem;
    margin-top: 1rem;
    color: var(--error);
    min-height: 20px;
}

.quick-login-hint.success {
    color: var(--success, #4CAF50);
}

.quick-login-welcome {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.quick-login-welcome.hidden {
    display: none;
}

.quick-login-welcome .welcome-message {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-login-welcome .welcome-message i {
    font-size: 2rem;
    color: #4CAF50;
}

.quick-login-welcome .welcome-message h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--cream);
    margin: 0;
}

.quick-login-welcome .welcome-message p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.quick-login-welcome .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.new-client-instruction {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--cream);
    opacity: 0.7;
    line-height: 1.5;
}

.new-client-instruction i {
    color: var(--gold);
    margin-left: 0.3rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* Steps Progress */
.booking-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.step.active,
.step.completed {
    opacity: 1;
}

.step-number {
    width: 45px;
    height: 45px;
    border: 2px solid rgba(196, 163, 90, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--gold);
    color: var(--charcoal-dark);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(196, 163, 90, 0.5);
}

.step.completed .step-number {
    background: var(--gold);
    color: var(--charcoal-dark);
    border-color: var(--gold);
}

.step.completed .step-number::after {
    content: '✓';
}

.step-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.step-line {
    width: 60px;
    height: 1px;
    background: rgba(196, 163, 90, 0.3);
}

/* Step Title */
.step-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    text-align: center;
    color: var(--cream);
    margin-bottom: 2rem;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.category-tab {
    padding: 0.75rem 1.75rem;
    background: transparent;
    border: 1px solid rgba(196, 163, 90, 0.3);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.category-tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal-dark);
}

/* Services Selection Grid */
.services-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-select-card {
    background: var(--charcoal);
    border: 1px solid rgba(196, 163, 90, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
}

.service-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--charcoal-dark);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-select-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-icon {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--charcoal-dark), var(--charcoal));
    opacity: 0.5;
}

.service-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-select-card:hover {
    border-color: rgba(196, 163, 90, 0.5);
    transform: translateY(-3px);
}

.service-select-card.selected {
    border-color: var(--gold);
    background: rgba(196, 163, 90, 0.05);
    box-shadow: 0 0 30px rgba(196, 163, 90, 0.2);
}

.service-select-card .service-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.service-brief {
    font-size: 0.75rem;
    color: rgba(245, 245, 240, 0.6);
    margin-bottom: 0.6rem;
    flex: 1;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-select-card .service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(245, 245, 240, 0.7);
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(196, 163, 90, 0.1);
}

.service-select-card .service-price {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
}

/* DateTime Container */
.datetime-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}

/* Calendar */
.calendar-wrapper {
    background: var(--charcoal);
    border: 1px solid rgba(196, 163, 90, 0.15);
    padding: 1.75rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-month {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--cream);
    text-transform: capitalize;
}

.calendar-nav {
    background: none;
    border: 1px solid rgba(196, 163, 90, 0.3);
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.75rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav:hover {
    border-color: var(--gold);
    background: rgba(196, 163, 90, 0.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 0.75rem;
}

.calendar-weekdays span {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0.5rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.calendar-day:hover:not(.disabled):not(.other-month) {
    border-color: var(--gold);
    background: rgba(196, 163, 90, 0.1);
}

.calendar-day.selected {
    background: var(--gold);
    color: var(--charcoal-dark);
    font-weight: 600;
}

.calendar-day.disabled,
.calendar-day.other-month {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-day.today {
    border-color: rgba(196, 163, 90, 0.5);
}

/* Time Slots */
.slots-wrapper {
    background: var(--charcoal);
    border: 1px solid rgba(196, 163, 90, 0.15);
    padding: 1.75rem;
}

.slots-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.slots-date {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-transform: capitalize;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.time-slots::-webkit-scrollbar {
    width: 6px;
}

.time-slots::-webkit-scrollbar-track {
    background: var(--charcoal-dark);
}

.time-slots::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.time-slot {
    padding: 0.875rem;
    background: var(--charcoal-dark);
    border: 1px solid rgba(196, 163, 90, 0.2);
    color: var(--cream);
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot:hover:not(.disabled) {
    border-color: var(--gold);
    background: rgba(196, 163, 90, 0.1);
}

.time-slot.selected {
    background: var(--gold);
    color: var(--charcoal-dark);
    border-color: var(--gold);
    font-weight: 600;
}

.time-slot.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.no-selection {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Booking Summary */
.booking-summary {
    background: var(--charcoal);
    border: 1px solid rgba(196, 163, 90, 0.2);
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(196, 163, 90, 0.1);
}

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

.summary-label {
    font-size: 0.85rem;
    opacity: 0.7;
}

.summary-value {
    font-size: 0.95rem;
    font-weight: 500;
}

.summary-value.price {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.5rem;
}

/* Extras Section (Add-ons) */
.extras-section {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.08), rgba(255, 152, 0, 0.02));
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.extras-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.extras-subtitle {
    font-size: 0.85rem;
    color: rgba(245, 245, 240, 0.7);
    margin-bottom: 1rem;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.extra-card {
    background: var(--charcoal);
    border: 1px solid rgba(255, 152, 0, 0.15);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.extra-card:hover {
    border-color: rgba(255, 152, 0, 0.4);
    background: rgba(255, 152, 0, 0.05);
}

.extra-card.selected {
    border-color: #FFA726;
    background: rgba(255, 152, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.15);
}

.extra-card .extra-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 152, 0, 0.4);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.extra-card.selected .extra-checkbox {
    background: #FFA726;
    border-color: #FFA726;
}

.extra-card .extra-checkbox i {
    color: var(--charcoal-dark);
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.extra-card.selected .extra-checkbox i {
    opacity: 1;
}

.extra-card .extra-info {
    flex: 1;
}

.extra-card .extra-name {
    font-size: 0.9rem;
    color: var(--cream);
    font-weight: 500;
}

.extra-card .extra-price {
    font-size: 0.85rem;
    color: #FFA726;
    font-weight: 600;
}

.extras-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 152, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.extras-total span {
    font-size: 0.95rem;
    color: var(--cream);
}

.extras-total strong {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #FFA726;
}

/* Booking Form */
.booking-form {
    background: var(--charcoal);
    border: 1px solid rgba(196, 163, 90, 0.15);
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-notice {
    background: rgba(196, 163, 90, 0.1);
    border: 1px solid rgba(196, 163, 90, 0.3);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.form-notice p {
    font-size: 0.85rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Success Container */
.success-container {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 90px;
    height: 90px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--charcoal-dark);
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease;
}

.success-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.success-message {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.success-details {
    background: var(--charcoal);
    border: 1px solid rgba(196, 163, 90, 0.2);
    padding: 2rem;
    margin: 2.5rem 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(196, 163, 90, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span {
    font-size: 0.9rem;
}

.detail-row strong {
    font-size: 1rem;
    color: var(--gold);
}

.code-display {
    font-family: var(--font-display);
    font-size: 2rem !important;
    letter-spacing: 0.3em;
}

.success-notice {
    background: rgba(196, 163, 90, 0.1);
    border: 1px solid rgba(196, 163, 90, 0.3);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.success-notice p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* Gold Card Marketing Banner */
.gold-card-promo {
    background: linear-gradient(135deg, rgba(196, 163, 90, 0.15), rgba(196, 163, 90, 0.05));
    border: 1px solid rgba(196, 163, 90, 0.4);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.5s ease;
}

.gold-card-promo .promo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), #d4af37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gold-card-promo .promo-icon i {
    font-size: 1.4rem;
    color: var(--charcoal-dark);
}

.gold-card-promo .promo-content h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--cream);
    margin: 0 0 0.4rem 0;
}

.gold-card-promo .promo-highlight {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

.gold-card-promo .promo-content p {
    font-size: 0.85rem;
    color: rgba(245, 245, 240, 0.8);
    margin: 0 0 0.6rem 0;
    line-height: 1.5;
}

.gold-card-promo .promo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gold-card-promo .promo-link:hover {
    color: #d4af37;
    transform: translateX(4px);
}

.gold-card-promo .promo-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.gold-card-promo .promo-link:hover i {
    transform: translateX(3px);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

/* Responsive */
/* ========== RESPONSIVE DESIGN ========== */

/* Tablets grandes (hasta 1024px) */
@media (max-width: 1024px) {
    .booking-main {
        padding: 8rem 2rem 4rem;
    }

    .services-select-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .time-slots {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Tablets y móviles (hasta 768px) */
@media (max-width: 768px) {
    .booking-main {
        padding: 6rem 1.5rem 3rem;
    }

    .booking-header h1 {
        font-size: 2rem;
    }

    .booking-header p {
        font-size: 0.9rem;
    }

    .booking-steps {
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .step {
        min-width: 60px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-line {
        width: 30px;
        height: 2px;
    }

    .step-label {
        font-size: 0.65rem;
    }

    .booking-content {
        padding: 2rem 1.5rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .category-tabs {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .category-tab {
        flex: 1 1 auto;
        min-width: 120px;
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
    }

    .services-select-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-option {
        padding: 1.25rem;
    }

    .service-option-header h3 {
        font-size: 1rem;
    }

    .service-duration,
    .service-price {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .service-option-description {
        font-size: 0.85rem;
    }

    .service-option-features li {
        font-size: 0.8rem;
    }

    .datetime-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .calendar-widget {
        padding: 1.5rem;
    }

    .calendar-header h3 {
        font-size: 1.1rem;
    }

    .calendar-nav {
        gap: 1rem;
    }

    .calendar-nav button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .calendar-grid {
        gap: 0.25rem;
    }

    .calendar-day {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    .time-selection {
        padding: 1.5rem;
    }

    .time-slots {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }

    .time-slot {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .form-label {
        font-size: 0.8rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.875rem;
        font-size: 0.9rem;
    }

    .booking-summary {
        padding: 1.5rem;
    }

    .summary-title {
        font-size: 1.1rem;
    }

    .summary-item-label {
        font-size: 0.8rem;
    }

    .summary-item-value {
        font-size: 0.9rem;
    }

    .summary-total {
        padding-top: 1rem;
        margin-top: 1rem;
    }

    .summary-total-label {
        font-size: 0.9rem;
    }

    .summary-total-value {
        font-size: 1.5rem;
    }

    .step-actions {
        gap: 1rem;
    }

    .step-actions .btn-primary,
    .step-actions .btn-secondary {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .booking-main {
        padding: 5rem 1rem 2rem;
    }

    .booking-header {
        margin-bottom: 2rem;
    }

    .booking-header h1 {
        font-size: 1.75rem;
    }

    .booking-header p {
        font-size: 0.85rem;
    }

    .booking-steps {
        gap: 0.25rem;
        padding: 0 0.5rem;
    }

    .step {
        min-width: 50px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .step-line {
        width: 20px;
    }

    .step-label {
        font-size: 0.6rem;
    }

    .booking-content {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .step-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .category-tabs {
        gap: 0.5rem;
        flex-direction: column;
    }

    .category-tab {
        width: 100%;
        padding: 0.625rem 1rem;
        font-size: 0.7rem;
    }

    .services-select-grid {
        gap: 0.875rem;
    }

    .service-option {
        padding: 1rem;
    }

    .service-option-header {
        margin-bottom: 0.75rem;
    }

    .service-option-header h3 {
        font-size: 0.95rem;
    }

    .service-option-meta {
        gap: 0.5rem;
    }

    .service-duration,
    .service-price {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }

    .service-option-description {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .service-option-features {
        gap: 0.35rem;
    }

    .service-option-features li {
        font-size: 0.75rem;
        padding-left: 1.25rem;
    }

    .calendar-widget,
    .time-selection {
        padding: 1.25rem;
    }

    .calendar-header h3 {
        font-size: 1rem;
    }

    .calendar-nav {
        gap: 0.75rem;
    }

    .calendar-nav button {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .calendar-grid {
        gap: 0.15rem;
        font-size: 0.75rem;
    }

    .calendar-day {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }

    .time-selection h3 {
        font-size: 1rem;
    }

    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .time-slot {
        padding: 0.625rem;
        font-size: 0.8rem;
    }

    .form-grid {
        gap: 1rem;
    }

    .form-label {
        font-size: 0.75rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .form-textarea {
        min-height: 100px;
    }

    .booking-summary {
        padding: 1.25rem;
    }

    .summary-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .summary-item {
        padding: 0.75rem 0;
    }

    .summary-item-label {
        font-size: 0.75rem;
    }

    .summary-item-value {
        font-size: 0.85rem;
    }

    .summary-total-label {
        font-size: 0.85rem;
    }

    .summary-total-value {
        font-size: 1.3rem;
    }

    .step-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .step-actions .btn-primary,
    .step-actions .btn-secondary {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.8rem;
    }

    .success-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .success-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .success-message {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .success-details {
        padding: 1.25rem;
        margin-bottom: 2rem;
    }

    .detail-item {
        padding: 0.75rem 0;
    }

    .detail-label {
        font-size: 0.75rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }

    .success-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .success-actions .btn-primary,
    .success-actions .btn-outline {
        width: 100%;
    }
}

/* Móviles muy pequeños (hasta 360px) */
@media (max-width: 360px) {
    .booking-header h1 {
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-option-header h3 {
        font-size: 0.9rem;
    }

    .success-title {
        font-size: 1.5rem;
    }
}

/* Landscape mode para móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .booking-main {
        padding: 4rem 1.5rem 2rem;
    }

    .booking-steps {
        margin-bottom: 1.5rem;
    }

    .datetime-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Payment Options in Modal */
.bank-details-container {
    background: rgba(196, 163, 90, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.section-label {
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.payment-option {
    background: var(--charcoal);
    border: 1px solid rgba(196, 163, 90, 0.2);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-option:last-child {
    margin-bottom: 0;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--cream);
    font-size: 0.95rem;
}

.payment-icon {
    font-size: 1.2rem;
}

.payment-info {
    padding-left: 2rem;
    font-size: 0.9rem;
    color: rgba(245, 245, 240, 0.8);
}

.payment-info p {
    margin: 0.2rem 0;
}

.copyable {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    user-select: all;
    color: var(--gold);
}

.beneficiary {
    font-size: 0.8rem;
    opacity: 0.7;
    font-style: italic;
}

/* ============================================================================
   DEPOSIT MODAL - POPUP STYLE
   ============================================================================ */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    display: none;
}

/* Modal Content */
.modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.deposit-modal-alert {
    background: linear-gradient(145deg, #1f1f1f 0%, #141414 100%);
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--cream);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(229, 57, 53, 0.8);
    border-color: rgba(229, 57, 53, 0.8);
    transform: rotate(90deg);
}

/* Alert Header */
.deposit-alert-header {
    background: linear-gradient(135deg, rgba(196, 163, 90, 0.15) 0%, rgba(196, 163, 90, 0.05) 100%);
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(196, 163, 90, 0.2);
}

.alert-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    color: var(--gold);
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.alert-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0;
}

/* Alert Body */
.deposit-alert-body {
    padding: 1.5rem;
}

.alert-message-box {
    background: rgba(196, 163, 90, 0.08);
    border-left: 3px solid var(--gold);
    padding: 1rem 1.25rem;
    border-radius: 0 10px 10px 0;
    margin-bottom: 1.25rem;
}

.alert-message-box p {
    margin: 0;
    line-height: 1.6;
    color: var(--cream);
    font-size: 0.9rem;
}

.alert-message-box p strong {
    color: var(--gold);
}

.alert-note {
    margin-top: 0.75rem !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-note i {
    color: #64B5F6;
}

/* Appointment Summary */
.deposit-appointment-summary {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(196, 163, 90, 0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.deposit-appointment-summary h4 {
    font-size: 0.8rem;
    color: var(--gold);
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.deposit-appointment-summary .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.deposit-appointment-summary .summary-row:last-child {
    border-bottom: none;
}

.deposit-appointment-summary .summary-row span {
    color: rgba(255, 255, 255, 0.5);
}

.deposit-appointment-summary .summary-row strong {
    color: var(--cream);
    font-weight: 500;
}

/* Payment Section */
.payment-section {
    margin-top: 1rem;
}

.payment-section .btn-secondary {
    background: rgba(196, 163, 90, 0.1);
    border: 1px solid rgba(196, 163, 90, 0.3);
    color: var(--gold);
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.payment-section .btn-secondary:hover {
    background: rgba(196, 163, 90, 0.2);
    border-color: var(--gold);
}

/* Bank Details Card */
.bank-details-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(196, 163, 90, 0.2);
    border-radius: 12px;
    margin-top: 1rem;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bank-details-card.hidden {
    display: none;
}

.bank-details-card .card-header {
    background: rgba(196, 163, 90, 0.1);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(196, 163, 90, 0.15);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-options-list {
    padding: 0.5rem;
}

.payment-option-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.payment-option-item:hover {
    background: rgba(196, 163, 90, 0.1);
    border-color: rgba(196, 163, 90, 0.2);
}

.payment-option-item:active {
    transform: scale(0.98);
}

.option-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--gold);
    font-size: 1rem;
}

.option-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.option-details {
    flex: 1;
    min-width: 0;
}

.bank-name {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: block;
    margin-bottom: 0.15rem;
}

.bank-number {
    font-family: 'SF Mono', 'Monaco', monospace;
    font-size: 0.85rem;
    color: var(--cream);
    letter-spacing: 0.02em;
    display: block;
}

.copy-icon {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.payment-option-item:hover .copy-icon {
    color: var(--gold);
}

.beneficiary-name {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0;
}

/* Alert Actions */
.deposit-alert-actions {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-whatsapp-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-lg:active {
    transform: translateY(0);
}

.btn-whatsapp-lg i {
    font-size: 1.2rem;
}

.btn-cancel-subtle {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.75rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
    text-align: center;
}

.btn-cancel-subtle:hover {
    color: #E57373;
}

/* Modal Responsive */
@media (max-width: 480px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .deposit-modal-alert {
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }

    .deposit-alert-header {
        padding: 1.5rem 1.25rem 1.25rem;
        flex-shrink: 0;
    }

    .alert-title {
        font-size: 1.5rem;
    }

    .deposit-alert-body {
        padding: 1.25rem;
        overflow-y: auto;
        flex: 1;
        min-height: 0;
    }

    .alert-message-box {
        padding: 0.875rem 1rem;
    }

    .alert-message-box p {
        font-size: 0.85rem;
    }

    .deposit-appointment-summary {
        padding: 0.875rem 1rem;
    }

    .deposit-alert-actions {
        padding: 1rem 1.25rem 1.25rem;
        flex-shrink: 0;
    }

    .btn-whatsapp-lg {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Bank details card mobile fixes */
    .bank-details-card {
        margin-bottom: 1rem;
    }

    .payment-option-item {
        padding: 0.6rem;
        gap: 0.5rem;
    }

    .option-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.9rem;
    }

    .bank-name {
        font-size: 0.65rem;
    }

    .bank-number {
        font-size: 0.8rem;
        word-break: break-all;
    }

    .copy-icon {
        font-size: 0.75rem;
        min-width: 20px;
    }

    .beneficiary-name {
        font-size: 0.7rem;
        padding: 0.5rem;
    }
}

/* Bank Details Card */
.bank-details-card {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bank-details-card.hidden {
    display: none;
}

.card-header {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(196, 163, 90, 0.2);
    padding-bottom: 0.5rem;
}

.payment-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.payment-option-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-option-item:hover {
    background: rgba(196, 163, 90, 0.1);
    border-color: rgba(196, 163, 90, 0.3);
    transform: translateX(5px);
}

.option-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gold);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.option-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.option-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bank-name {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bank-number {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.95rem;
    color: var(--cream);
    letter-spacing: 0.05em;
}

.copy-icon {
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s;
}

.payment-option-item:hover .copy-icon {
    color: var(--gold);
}

.beneficiary-name {
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ============================================================================
   PAYMENT OPTIONS CONTAINER (Recurring Clients Modal)
   ============================================================================ */

.payment-options-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.payment-option-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(196, 163, 90, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option-card:hover {
    background: rgba(196, 163, 90, 0.1);
    border-color: var(--gold);
    transform: translateX(5px);
}

.payment-option-card.hidden {
    display: none;
}

.option-icon-lg {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
    background: rgba(196, 163, 90, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(196, 163, 90, 0.3);
}

.option-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.option-content strong {
    font-size: 1rem;
    color: var(--cream);
}

.option-content span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.payment-option-card>i.fa-chevron-right {
    color: rgba(196, 163, 90, 0.5);
    transition: all 0.2s ease;
}

.payment-option-card:hover>i.fa-chevron-right {
    color: var(--gold);
    transform: translateX(3px);
}

/* Payment Options Modal Mobile */
@media (max-width: 480px) {
    .payment-options-container {
        gap: 0.6rem;
        margin: 1rem 0;
    }

    .payment-option-card {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }

    .option-icon-lg {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.1rem;
    }

    .option-content strong {
        font-size: 0.9rem;
    }

    .option-content span {
        font-size: 0.75rem;
    }

    #po-bank-details .payment-option-item {
        padding: 0.6rem;
        gap: 0.5rem;
    }

    #po-bank-details .option-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    #po-bank-details .bank-number {
        font-size: 0.75rem;
        word-break: break-all;
    }
}

/* ============================================================================
   PENDING APPOINTMENT STYLES
   ============================================================================ */

.pending-appointment-section {
    margin-top: 1.5rem;
    animation: fadeIn 0.4s ease;
}

.pending-appointment-section.hidden {
    display: none;
}

.pending-appointment-card {
    background: var(--charcoal);
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.pending-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(196, 163, 90, 0.2);
}

.pending-header i {
    font-size: 1.5rem;
    color: var(--gold);
}

.pending-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--cream);
    margin: 0;
}

.pending-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pending-service {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--cream);
    font-weight: 500;
}

.pending-service i {
    color: var(--gold);
    width: 20px;
}

.pending-datetime {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.pending-date,
.pending-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(245, 245, 240, 0.9);
}

.pending-date i,
.pending-time i {
    color: var(--gold);
    width: 16px;
}

.pending-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.pending-price,
.pending-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(245, 245, 240, 0.7);
}

.pending-price i,
.pending-duration i {
    color: var(--gold);
    font-size: 0.8rem;
}

.pending-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(196, 163, 90, 0.15);
}

.btn-modify {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-modify:hover {
    background: rgba(196, 163, 90, 0.1);
    transform: translateY(-2px);
}

.btn-cancel-apt {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: transparent;
    border: 1px solid #f44336;
    color: #f44336;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cancel-apt:hover {
    background: rgba(244, 67, 54, 0.1);
}

.pending-warning {
    margin-top: 1rem;
    padding: 0.875rem;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #ff9800;
}

.pending-warning.hidden {
    display: none;
}

.pending-warning i {
    font-size: 1.1rem;
}

.pending-warning a {
    color: var(--gold);
    text-decoration: underline;
}

.pending-separator {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.pending-separator::before,
.pending-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 20px);
    height: 1px;
    background: rgba(196, 163, 90, 0.2);
}

.pending-separator::before {
    left: 0;
}

.pending-separator::after {
    right: 0;
}

.pending-separator span {
    background: var(--charcoal-dark);
    padding: 0 1rem;
    color: rgba(245, 245, 240, 0.5);
    font-size: 0.9rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: var(--charcoal);
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(196, 163, 90, 0.2);
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--cream);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header h3 i {
    color: var(--gold);
}

.modal-header-danger h3 i {
    color: #f44336;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(245, 245, 240, 0.6);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--cream);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(196, 163, 90, 0.15);
}

.current-appointment-summary,
.cancel-appointment-summary {
    background: rgba(196, 163, 90, 0.1);
    border: 1px solid rgba(196, 163, 90, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.summary-label {
    font-size: 0.8rem;
    color: rgba(245, 245, 240, 0.6);
    margin-bottom: 0.5rem;
}

.summary-details,
.cancel-appointment-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.summary-details span,
.cancel-appointment-summary span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--cream);
}

.summary-details i,
.cancel-appointment-summary i {
    color: var(--gold);
    font-size: 0.85rem;
}

.modify-question {
    font-size: 1rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

.modify-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modify-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--charcoal-dark);
    border: 1px solid rgba(196, 163, 90, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.modify-option:hover {
    border-color: var(--gold);
    background: rgba(196, 163, 90, 0.05);
    transform: translateX(4px);
}

.modify-option i {
    font-size: 1.4rem;
    color: var(--gold);
    width: 30px;
}

.modify-option strong {
    display: block;
    color: var(--cream);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.modify-option small {
    color: rgba(245, 245, 240, 0.6);
    font-size: 0.8rem;
}

.cancel-warning {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.cancel-warning i {
    font-size: 1.5rem;
    color: #ff9800;
}

.cancel-warning p {
    margin: 0;
    font-size: 1rem;
    color: var(--cream);
}

.cancel-reason-field {
    margin-top: 1rem;
}

.cancel-reason-field label {
    display: block;
    font-size: 0.9rem;
    color: rgba(245, 245, 240, 0.8);
    margin-bottom: 0.5rem;
}

.cancel-reason-field textarea {
    width: 100%;
    padding: 0.875rem;
    background: var(--charcoal-dark);
    border: 1px solid rgba(196, 163, 90, 0.2);
    border-radius: 8px;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    resize: vertical;
}

.cancel-reason-field textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.cancel-reason-field textarea::placeholder {
    color: rgba(245, 245, 240, 0.4);
}

.btn-danger {
    padding: 0.875rem 1.5rem;
    background: #f44336;
    border: none;
    color: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-danger:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

.modal-success {
    text-align: center;
    padding: 2.5rem;
}

.modal-success .success-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.modal-success .success-icon i {
    font-size: 2.5rem;
    color: white;
}

.modal-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.modal-success p {
    font-size: 0.95rem;
    color: rgba(245, 245, 240, 0.7);
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 600px) {
    .pending-actions {
        flex-direction: column;
    }

    .pending-datetime {
        flex-direction: column;
        gap: 0.5rem;
    }

    .modal-footer {
        flex-direction: column-reverse;
    }

    .modal-footer button {
        width: 100%;
    }
}

/* ============================================================================
   PHONE INPUT WITH COUNTRY SELECTOR
   ============================================================================ */
.phone-input-group {
    display: flex;
    gap: 0;
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 4px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease;
}

.phone-input-group:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.1);
}

.country-select {
    padding: 0.875rem 0.5rem;
    background: rgba(196, 163, 90, 0.1);
    border: none;
    border-right: 1px solid rgba(196, 163, 90, 0.2);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    width: auto;
    min-width: 80px;
    max-width: 140px;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C4A35A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 28px;
}

.country-select:focus {
    outline: none;
    background-color: rgba(196, 163, 90, 0.15);
}

.country-select option {
    background: var(--charcoal);
    color: var(--cream);
    padding: 0.5rem;
}

.phone-input-group .phone-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    background: transparent;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 1rem;
    min-width: 100px;
}

.phone-input-group .phone-input:focus {
    outline: none;
}

.phone-input-group .phone-input::placeholder {
    color: rgba(245, 243, 238, 0.4);
}

@media (max-width: 480px) {
    .country-select {
        min-width: 95px;
        font-size: 0.85rem;
        padding: 0.75rem 0.5rem;
        padding-right: 24px;
    }

    .phone-input-group .phone-input {
        font-size: 0.95rem;
        padding: 0.75rem;
    }
}