/* ==========================================================================
   ChatModel SaaS - Pay & Checkout Page Styles
   Connected View: views/pages/pay.php
   ========================================================================== */

.checkout-plan-summary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 14px 0 18px 0;
}

.checkout-plan-summary .summary-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
}

.checkout-plan-summary .summary-subtitle {
    font-size: 0.82rem;
    color: var(--text-body);
}

.checkout-plan-summary .summary-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

/* Single line clean checkbox box */
.checkout-terms-singleline {
    background: var(--toggle-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 16px 0;
}

.checkout-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--text-body);
    user-select: none;
}

.checkout-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkout-checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.checkout-checkbox-label a:hover {
    color: var(--secondary);
}

/* Custom Payment Input & Badge Styles */
.custom-amount-input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--input-bg);
    border: 1.5px solid var(--input-border);
    border-radius: 14px;
    padding: 0 16px;
    transition: all 0.25s ease;
}

.custom-amount-input-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background: var(--card-bg);
}

.custom-amount-input-box .currency-symbol {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-right: 8px;
    user-select: none;
}

.custom-amount-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-heading);
    padding: 12px 0;
    font-family: inherit;
}

.custom-amount-input::placeholder {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-body);
    opacity: 0.5;
}

.plan-badge.custom {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Preset Chips Active & Focus State */
.query-chip.active {
    background: rgba(99, 102, 241, 0.16) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    box-shadow: 0 0 0 1px var(--primary) !important;
}

