/*** Booking & Webinar Styles ***/

/* ====== Webinar Cards ====== */
.webinar-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.webinar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(107, 173, 190, 0.25);
}

.webinar-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.webinar-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.webinar-card:hover .webinar-card-img img {
    transform: scale(1.08);
}

.webinar-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(107, 173, 190, 0.4);
}

.webinar-card-badge.sold-out {
    background: #dc3545;
}

.webinar-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.webinar-card-body h4 {
    font-family: 'Bodoni Moda', serif;
    color: var(--dark);
    margin-bottom: 12px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.webinar-card-body p.webinar-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.webinar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.webinar-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}

.webinar-meta-item i {
    color: var(--primary);
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.webinar-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.webinar-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Bodoni Moda', serif;
}

.webinar-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: #999;
}

.webinar-seats {
    font-size: 13px;
    color: #888;
}

.webinar-seats .seats-count {
    font-weight: 600;
    color: var(--primary);
}

.webinar-seats.almost-full .seats-count {
    color: #e67e22;
}

.webinar-seats.sold-out .seats-count {
    color: #dc3545;
}

.btn-book {
    background: linear-gradient(135deg, #6badbe, #5a9aab);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 173, 190, 0.3);
}

.btn-book:hover {
    background: linear-gradient(135deg, #5a9aab, #4a8a9b);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 173, 190, 0.45);
}

.btn-book:disabled {
    background: #ccc;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* ====== Booking Modal ====== */
.booking-modal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.booking-modal .modal-header {
    background: linear-gradient(135deg, #6badbe, #5a9aab);
    color: #fff;
    border: none;
    padding: 24px 30px;
}

.booking-modal .modal-header .modal-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.4rem;
}

.booking-modal .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.booking-modal .modal-body {
    padding: 30px;
}

.booking-modal .webinar-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
    border-left: 4px solid var(--primary);
}

.booking-modal .webinar-summary h5 {
    color: var(--dark);
    margin-bottom: 8px;
    font-family: 'Bodoni Moda', serif;
}

.booking-modal .webinar-summary .summary-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666;
}

.booking-modal .webinar-summary .summary-meta i {
    color: var(--primary);
    margin-right: 4px;
}

.booking-modal .form-floating label {
    color: #888;
}

.booking-modal .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(107, 173, 190, 0.25);
}

.btn-pay {
    background: linear-gradient(135deg, #6badbe, #5a9aab);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 173, 190, 0.3);
}

.btn-pay:hover {
    background: linear-gradient(135deg, #5a9aab, #4a8a9b);
    color: #fff;
    box-shadow: 0 6px 20px rgba(107, 173, 190, 0.45);
}

.btn-pay:disabled {
    background: #ccc;
    box-shadow: none;
}

/* ====== Empty State ====== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #999;
    font-family: 'Bodoni Moda', serif;
    margin-bottom: 10px;
}

.empty-state p {
    color: #bbb;
    font-size: 15px;
}

/* ====== Loading Skeleton ====== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    height: 420px;
    border-radius: 12px;
}

/* ====== Confirmation Page ====== */
.confirm-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.confirm-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6badbe, #5a9aab);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: confirmPulse 0.6s ease-out;
}

@keyframes confirmPulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.confirm-icon i {
    font-size: 48px;
    color: #fff;
}

.confirm-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    text-align: left;
    border-left: 4px solid var(--primary);
}

.confirm-details .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

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

.confirm-details .detail-label {
    color: #888;
    font-size: 14px;
}

.confirm-details .detail-value {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.btn-whatsapp-confirm {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-whatsapp-confirm:hover {
    background: #1ebe5c;
    color: #fff;
    transform: translateY(-2px);
}

/* ====== Hero Section for Webinar Page ====== */
.page-header-webinar {
    background: linear-gradient(135deg, rgba(27, 44, 81, 0.85), rgba(107, 173, 190, 0.7)), url(../img/header-page.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-webinar .container {
    height: 35vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-header-webinar h1 {
    color: #fff;
    font-family: 'Bodoni Moda', serif;
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.page-header-webinar p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 600px;
    text-align: center;
}

@media (max-width: 768px) {
    .page-header-webinar .container {
        height: 25vh;
    }

    .page-header-webinar h1 {
        font-size: 1.8rem;
    }

    .webinar-card-img {
        height: 180px;
    }

    .webinar-card-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .btn-book {
        width: 100%;
        text-align: center;
    }
}
