/**
 * ============================================================================
 * Review Page Styles - Premium Order Summary Design
 * ============================================================================
 * 
 * Modern, glassmorphic design for the event order review page
 * Features: Card-based layout, animations, responsive design
 */

/* ========== Review Page Container ========== */
.order-summary-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-width: 600px;
}

/* Loading Placeholder */
.loading-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: var(--mona--10);
}

.loading-placeholder i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--mona--10);
}

.loading-placeholder p {
    font-size: 18px;
}

/* ========== Review Sections ========== */
.review-section {
    margin-bottom: 24px;
    opacity: 1;
    /* Sections are visible by default */
}

/* ========== Review Card Design ========== */
.review-card {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* ========== Card Header ========== */
.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.02) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.review-icon {
    font-size: 24px;
    color: #6366f1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--mona--10);
    margin: 0;
}

/* Edit Button */
.edit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg,
            rgba(99, 102, 241, 0.2) 0%,
            rgba(79, 70, 229, 0.2) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    color: var(--mona--10);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-btn:hover {
    background: linear-gradient(135deg,
            rgba(99, 102, 241, 0.4) 0%,
            rgba(79, 70, 229, 0.4) 100%);
    border-color: rgba(99, 102, 241, 0.5);
    transform: scale(1.05);
}

.edit-btn i {
    font-size: 14px;
}

/* ========== Card Body ========== */
.review-card-body {
    padding: 24px;
}

/* ========== Package Details ========== */
.package-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.package-name-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.package-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--mona--10);
    margin: 0;
    flex: 1;
}

.package-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.original-price {
    font-size: 16px;
    color: var(--mona--10);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.discounted-price {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.current-price {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.discount-badge {
    display: inline-flex;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 12px;
    color: var(--mona--10);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.package-description {
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    color: var(--mona--10);
    line-height: 1.6;
}

/* ========== Info Grid (Venue & Guest) ========== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.info-item i {
    font-size: 20px;
    color: #6366f1;
    margin-top: 2px;
}

.info-item div {
    flex: 1;
}

.info-item label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--mona--10);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.info-item p {
    font-size: 16px;
    font-weight: 600;
    color: var(--mona--10);
    margin: 0;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

/* ========== Items List (L&F, Services) ========== */
.items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.item-row:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.item-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--mona--10);
    flex: 1;
}

.item-quantity {
    font-size: 14px;
    color: var(--mona--10);
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 8px;
}

.item-price {
    font-size: 16px;
    font-weight: 700;
    color: #10b981;
}

/* ========== Color Palette Preview ========== */
.color-palette-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.color-swatches {
    display: flex;
    gap: 12px;
}

.color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ========== Empty Section ========== */
.empty-section .review-card {
    background: linear-gradient(135deg,
            rgba(255, 100, 100, 0.05) 0%,
            rgba(255, 50, 50, 0.02) 100%);
    border-color: rgba(255, 100, 100, 0.2);
}

.empty-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--mona--10);
    font-size: 16px;
    font-style: italic;
}

/* ========== Total Price Section ========== */
.order-total-section {
    margin: 40px auto 30px;
    max-width: 500px;
}

.order-total-card {
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.2) 0%,
            rgba(5, 150, 105, 0.2) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
}

.total-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--mona--10);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.total-price {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    .order-summary-container {
        padding: 12px;
        margin: 0;
        min-width: auto;
    }

    .review-section {
        margin-bottom: 16px;
    }

    .review-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .edit-btn {
        width: 100%;
        justify-content: center;
    }

    .review-card-body {
        padding: 16px;
    }

    .package-name-price {
        flex-direction: column;
        gap: 12px;
    }

    .package-price {
        align-items: flex-start;
    }

    .section-title {
        font-size: 18px;
    }

    .review-icon {
        font-size: 20px;
        width: 36px;
        height: 36px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .total-price {
        font-size: 36px;
    }

    .order-total-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .package-name {
        font-size: 20px;
    }

    .discounted-price,
    .current-price {
        font-size: 24px;
    }

    .total-price {
        font-size: 32px;
    }

    .info-item {
        padding: 12px;
    }

    .item-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-price {
        align-self: flex-end;
    }
}

/* ========== Custom Path Sections Container ========== */
.custom-path-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.review-section {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.review-section:nth-child(1) {
    animation-delay: 0.1s;
}

.review-section:nth-child(2) {
    animation-delay: 0.2s;
}

.review-section:nth-child(3) {
    animation-delay: 0.3s;
}

.review-section:nth-child(4) {
    animation-delay: 0.4s;
}

.review-section:nth-child(5) {
    animation-delay: 0.5s;
}

/* ========== Reset Button Container ========== */
.rest-btn-container {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-bottom: 25px;

}

/* ========== Continue to Review Button ========== */
#review-continue-container {
    justify-content: center;
}

.btn-continue-review {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.35);
    letter-spacing: 0.3px;
}

.btn-continue-review:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.45);
}

.btn-continue-review:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-continue-review i {
    font-size: 18px;
}