/* Credits Manager CSS - Loaded */
/* Debug: CSS file is being loaded */

/* Main container */
.buy-tokens-box {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form title */
.form-title {
    margin-top: 0;
    color: #23282d;
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 1.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #eee;
}

/* Credit options */
.options {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.credit-option {
    padding: 12px 24px;
    border: 2px solid #0073aa;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
    font-weight: 500;
    color: #0073aa;
    text-align: center;
    flex: 1 0 calc(33.333% - 20px);
    min-width: 100px;
    max-width: 200px;
}

.credit-option:hover,
.credit-option:focus {
    background: #f0f6fc;
    border-color: #005177;
    color: #005177;
    outline: none;
}

.credit-option.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Summary box */
#summary-box {
    margin-top: 25px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

#token_result {
    margin: 0 0 15px;
    font-size: 1.1em;
    line-height: 1.5;
}

/* Buttons */
#checkout_btn {
    background: #0073aa;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#checkout_btn:hover,
#checkout_btn:focus {
    background: #005177;
    outline: none;
}

#checkout_btn:disabled {
    background: #a0a5aa;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .credit-option {
        flex: 1 0 calc(50% - 15px);
    }
}

@media (max-width: 400px) {
    .credit-option {
        flex: 1 0 100%;
    }
}
