/**
 * Recurring Totals Block Checkout CSS
 * 
 * Styles for enhancing the subscription totals display
 * in WooCommerce blocks checkout.
 */

/* Main panel styling */
.wcs-recurring-totals-panel {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Make the title more prominent */
.wcs-recurring-totals-panel__title {
    font-weight: bold;
}

/* Style the description that contains the date */
.wcs-recurring-totals-panel__title .components-totals-item__description {
    font-weight: normal;
    font-size: 13px;
}

/* Highlight the payment date notice */
.solmetex-payment-date-highlight {
    margin: 15px 0;
    padding: 12px 15px;
    background-color: #f7f7f7;
    border-left: 3px solid #0091CD;
    font-size: 14px;
    line-height: 1.5;
    clear: both;
}

.recurring-payment-notice {
    color: #333;
}

/* Style the payment explanation */
.solmetex-payment-explanation {
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #555;
    padding-left: 15px;
    line-height: 1.5;
}

/* Initial payment notice styling */
.solmetex-initial-payment-notice {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e2e2;
}

.solmetex-initial-payment-banner {
    padding: 15px;
    background-color: #f8f8f8;
    border-left: 4px solid #0091CD;
    margin-bottom: 15px;
}

.solmetex-initial-payment-banner h3 {
    margin: 0 0 10px 0;
    color: #0091CD;
    font-size: 16px;
}

.solmetex-initial-payment-banner p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Modify the total components to make initial payment clear */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-weight: bold;
    font-size: 16px;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-weight: bold;
    font-size: 16px;
    color: #0091CD;
}

/* Add a clear indicator for the $25 total - dynamic date is added via JS */
.wc-block-components-totals-footer-item::after {
    content: "* This is today's charge of $25. The remaining $500 will be charged 30 days after purchase.";
    display: block;
    font-size: 12px;
    color: #555;
    margin-top: 5px;
    font-style: italic;
}

/* Fix recurring totals display */
.wcs-recurring-totals-panel__title .wc-block-components-totals-item__value {
    color: #333;
    font-weight: normal;
}

/* Add distinction between initial payment and recurring totals */
.wc-block-components-order-summary-item__total {
    color: #0091CD;
    font-weight: bold;
}

/* Ensure our custom elements are responsive */
@media (max-width: 768px) {
    .solmetex-payment-date-highlight {
        padding: 10px;
        font-size: 13px;
    }
    
    .solmetex-payment-explanation {
        font-size: 11px;
    }
    
    .solmetex-initial-payment-banner {
        padding: 10px;
    }
    
    .solmetex-initial-payment-banner h3 {
        font-size: 15px;
    }
    
    .solmetex-initial-payment-banner p {
        font-size: 13px;
    }
}

/* Add some space at the bottom of the checkout */
.wc-block-components-order-summary {
    margin-bottom: 20px;
}

/* Make sure the total label is clear */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-weight: bold;
    font-size: 16px;
} 