/* ANI Checkout Styles - Mimicking Unconference Layout */
.letest_insight {
    display: none !important;
}

.veltica-ani-checkout {
    background: #f8fafc;
    padding: 40px 20px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
}

.woocommerce {
    width: 100%;
}

.ani-checkout-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ani-checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.ani-checkout-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: #0ea5e9;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ani-checkout-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 10px 0;
}

.ani-checkout-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* WC Form Layout from Webinar Checkout / Unconference */
.veltica-ani-checkout .woocommerce-checkout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    align-items: start;
}

/* Penempatan Grid Kiri (Billing Bawaan jika ada, walau kita hide) */
.veltica-ani-checkout .col2-set {
    grid-column: 1;
    grid-row: 1;
    display: none;
    /* Hide default billing since we fully replaced it */
}

/* Penempatan Data Diri Kiri */
.veltica-ani-checkout .ani-checkout-left {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Penempatan Grid Kanan (Order Review) */
.veltica-ani-checkout .ani-checkout-right-column {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: sticky;
    top: 2rem;
}

/* Order Review Styling (WooCommerce overrides) */
.veltica-ani-checkout #order_review {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.veltica-ani-checkout #order_review_heading {
    display: none;
}

.veltica-ani-checkout #order_review::before {
    content: 'Order Summary';
    display: block;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.veltica-ani-checkout table.shop_table {
    border: none;
    margin: 0;
    width: 100%;
    text-align: left;
}

.veltica-ani-checkout table.shop_table th,
.veltica-ani-checkout table.shop_table td {
    border: none;
    padding: 15px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.veltica-ani-checkout table.shop_table tr.order-total th,
.veltica-ani-checkout table.shop_table tr.order-total td {
    border-bottom: none;
    border-top: 2px solid #e2e8f0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    padding-top: 20px;
}

.veltica-ani-checkout #payment {
    background: none;
    border-radius: 0;
    margin-top: 20px;
    padding: 0;
}

.veltica-ani-checkout #payment ul.payment_methods {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.veltica-ani-checkout #place_order {
    display: block;
    width: 100%;
    padding: 18px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.veltica-ani-checkout #place_order:hover:not(:disabled) {
    background: #1e293b;
    transform: translateY(-2px);
}

/* Form Cards */
.ani-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.ani-form-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

/* Fields */
.ani-field-wrapper {
    margin-bottom: 20px;
}

.ani-field-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.ani-field-wrapper input[type="text"],
.ani-field-wrapper input[type="email"],
.ani-field-wrapper input[type="tel"],
.ani-field-wrapper input[type="date"],
.ani-field-wrapper select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #1e293b;
    background-color: #f8fafc;
    transition: all 0.2s;
    box-sizing: border-box;
}

.ani-field-wrapper input:focus,
.ani-field-wrapper select:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ani-required {
    color: #ef4444;
}

.ani-checkbox-group label {
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    transition: all 0.2s;
}

.ani-checkbox-group label:hover {
    background: #f1f5f9;
}

.ani-checkbox-group input[type="checkbox"] {
    accent-color: #0f172a;
    width: 18px;
    height: 18px;
}

/* Slot Buttons */
.ani-slot-btn {
    padding: 10px;
    border: 1px solid #3b82f6;
    background-color: #ffffff;
    color: #3b82f6;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.ani-slot-btn:hover:not(.booked):not(.selected) {
    background-color: #eff6ff;
}

.ani-slot-btn.selected {
    background-color: #3b82f6;
    color: #ffffff;
}

.ani-slot-btn.booked {
    border-color: #e2e8f0;
    background-color: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .veltica-ani-checkout .woocommerce-checkout {
        display: flex;
        flex-direction: column;
    }

    .veltica-ani-checkout .ani-checkout-left,
    .veltica-ani-checkout .ani-checkout-right-column {
        width: 100%;
        order: unset;
        /* Reset order for mobile */
    }

    .veltica-ani-checkout .ani-checkout-right-column {
        position: static;
    }
}

.ani-checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.ani-checkout-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: #0ea5e9;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ani-checkout-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 10px 0;
}

.ani-checkout-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Two Column Layout */
.mc-woocommerce-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.ani-checkout-left {
    flex: 1;
    min-width: 0;
    order: 1;
}

.ani-checkout-right-column {
    width: 100%;
    flex-shrink: 0;
    order: 2;
    position: sticky;
    top: 40px;
}

/* Form Cards */
.ani-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    margin-bottom: 25px;
}

.ani-form-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.ani-form-section-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Fields */
.ani-field-wrapper {
    margin-bottom: 20px;
}

.ani-field-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.ani-field-wrapper input[type="text"],
.ani-field-wrapper input[type="email"],
.ani-field-wrapper input[type="tel"],
.ani-field-wrapper input[type="date"],
.ani-field-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    color: #0f172a;
    background-color: #f8fafc;
    transition: all 0.2s;
    box-sizing: border-box;
}

.ani-field-wrapper input:focus,
.ani-field-wrapper select:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ani-required {
    color: #ef4444;
}

.ani-checkbox-group label {
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    transition: all 0.2s;
}

.ani-checkbox-group label:hover {
    background: #f1f5f9;
}

.ani-checkbox-group input[type="checkbox"] {
    accent-color: #3b82f6;
    width: 16px;
    height: 16px;
}

/* Order Review Styling (WooCommerce overrides) */
.woocommerce-checkout-review-order {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

#order_review_heading {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    border-bottom: none;
    padding-top: 15px;
}

.woocommerce-checkout-payment {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 20px;
}

.woocommerce-checkout-payment ul.payment_methods {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

#place_order {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    background: #0f172a;
    color: #fff;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

#place_order:hover:not(:disabled) {
    background: #1e293b;
    transform: translateY(-1px);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .mc-woocommerce-wrapper {
        flex-direction: column;
    }

    .ani-checkout-left,
    .ani-checkout-right-column {
        width: 100%;
        order: unset;
        /* Reset order for mobile */
    }

    .ani-checkout-right-column {
        position: static;
    }
}