/* Katalog Page Specific Styles - White/Premium Theme */

:root {
    --catalog-bg: #ffffff;
    --catalog-text: #000000;
    --catalog-border: #dddddd;
    --catalog-accent: #000000;
    --catalog-muted: #666666;
}

.catalog-body {
    background-color: var(--catalog-bg) !important;
    background-image: none !important;
    color: var(--catalog-text) !important;
    font-family: 'Inter', sans-serif;
}

.catalog-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 10rem 1.5rem;
}

.catalog-title {
    text-align: center;
    margin-bottom: 4rem;
}

.catalog-title h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 700;
    border-bottom: 2px solid #000;
    display: inline-block;
    padding-bottom: 5px;
}

.section-header {
    border-bottom: 2px solid #000;
    margin: 3rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
}

.section-header h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Date Availability Section */
.date-check-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 2rem;
}

.date-input-group {
    display: flex;
    gap: 5px;
}

.date-input {
    border: 1px solid #000;
    padding: 8px 15px;
    font-size: 0.9rem;
    width: 200px;
}

.btn-calendar {
    background: #eee;
    border: 1px solid #ccc;
    padding: 0 15px;
    cursor: pointer;
    font-weight: bold;
}

.btn-check {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

/* Package Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.package-card {
    border: 1px solid #ccc;
    padding: 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.package-image {
    background: #f0f0f0;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid #eee;
    color: #999;
    font-size: 0.8rem;
}

.package-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.package-price {
    font-weight: bold;
    margin-bottom: 10px;
}

.package-desc {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-detail {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px;
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.8rem;
}

.badge-populer {
    position: absolute;
    top: -12px;
    right: 15px;
    background: #000;
    color: #fff;
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Table */
.catalog-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
}

.catalog-table th {
    background: #000;
    color: #fff;
    text-align: left;
    padding: 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.catalog-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.catalog-table tr:nth-child(even) {
    background: #f9f9f9;
}

.btn-pilih {
    background: #fff;
    border: 1px solid #000;
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-pilih.selected {
    background: #000;
    color: #fff;
}

/* Sticky Footer */
.catalog-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    border-top: 1px solid #000;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.btn-order {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 60px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
}

/* Header Adjustments for White Theme */
.catalog-header {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px 5%;
}

.nav-btn-dark {
    border: 1px solid #000;
    padding: 5px 15px;
    text-decoration: none;
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Pemesanan Styles */
.form-group-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-label {
    width: 200px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-input-container {
    flex-grow: 1;
}

.form-control-full {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #000;
    font-size: 0.9rem;
    font-family: inherit;
}

.form-control-inline {
    padding: 8px 12px;
    border: 1px solid #000;
    font-size: 0.9rem;
    font-family: inherit;
}

.input-small {
    width: 80px;
}

.price-text {
    font-size: 0.9rem;
    margin-left: 10px;
    color: #666;
}

.promo-group {
    display: flex;
    gap: 10px;
}

.btn-cek-promo {
    background: #fff;
    border: 1px solid #000;
    padding: 0 20px;
    font-weight: bold;
    cursor: pointer;
}

/* Summary Box */
.summary-box {
    border: 1px solid #000;
    padding: 20px;
    margin-top: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.summary-divider {
    border-top: 1px solid #000;
    margin: 15px 0;
}

.total-row {
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
}

.dp-row {
    font-weight: 500;
    color: #333;
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn-submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-back {
    background: #fff;
    color: #000;
    border: 1px solid #000;
    padding: 12px 40px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
}

.select-dp-container {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.select-dp {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #000;
}

/* Detail Pesanan Styles */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.order-status-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.order-no {
    font-weight: 700;
    font-size: 1rem;
}

.status-badge {
    border: 1px dashed #000;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.info-box {
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.info-label {
    width: 150px;
    font-weight: 700;
}

.info-value {
    flex-grow: 1;
}

.payment-box {
    background: #f0f0f0;
    padding: 20px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.payment-item {
    font-family: monospace;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.upload-area {
    border: 2px dashed #ccc;
    padding: 30px;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    cursor: pointer;
    margin-bottom: 15px;
}

.action-box {
    border: 1px dashed #000;
    padding: 20px;
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-confirm {
    background: #444;
    color: #fff;
    border: none;
    padding: 10px;
    flex-grow: 1;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
}

.btn-cancel {
    background: #222;
    color: #fff;
    border: none;
    padding: 10px;
    flex-grow: 1;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
}

.action-note {
    font-size: 0.7rem;
    color: #666;
    font-style: italic;
    text-align: left;
}

.btn-back-center {
    display: inline-block;
    border: 1px solid #000;
    padding: 10px 40px;
    text-decoration: none;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin: 40px auto;
}

.center-container {
    text-align: center;
}

/* Syarat & Ketentuan Styles */
.syarat-list {
    margin: 40px 0;
}

.syarat-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px dotted #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.syarat-no {
    width: 50px;
    font-weight: 700;
}

.syarat-teks {
    flex-grow: 1;
}

.btn-agree {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 60px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.btn-agree:hover {
    background: #333;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 25px;
    border: 1px solid #eee;
    padding: 20px;
}

.faq-q {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #000;
}

.faq-a {
    font-size: 0.95rem;
    color: #444;
}

/* Transaction Styles */
.status-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-waiting { background: #fee2e2; color: #991b1b; }
.status-confirmed { background: #dcfce7; color: #166534; }
.status-cancelled { background: #f3f4f6; color: #374151; }

.btn-view {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    border-bottom: 1px solid #000;
    font-size: 0.8rem;
}
