/**
 * Solo Mi Cuenta → SSL. Look dark elevado (borde sutil + campos slate).
 * No usar en hosting-domain.php.
 */

.account-ssl-config .hosting-domain-form {
    display: grid;
    gap: 1rem;
    max-width: 32rem;
}

.account-ssl-config .field-label {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    color: #e2e8f0;
    font-weight: 500;
}

.account-ssl-config .hosting-input,
.account-ssl-config .hosting-select,
.account-ssl-config .hosting-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.72rem 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--account-field-border, #334155);
    background: var(--account-field-bg, #020617);
    color: var(--account-text, #f1f5f9);
    font: inherit;
    font-size: 0.9rem;
    line-height: 1.35;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    color-scheme: dark;
}

.account-ssl-config .hosting-input::placeholder,
.account-ssl-config .hosting-textarea::placeholder {
    color: var(--account-text-soft, #94a3b8);
    opacity: 1;
}

.account-ssl-config .hosting-input:focus,
.account-ssl-config .hosting-select:focus,
.account-ssl-config .hosting-textarea:focus {
    outline: none;
    border-color: var(--account-accent, #fbbf24);
    background: var(--account-field-bg, #020617);
    box-shadow: 0 0 0 1px var(--account-accent-soft, rgba(255, 184, 0, 0.25));
}

.account-ssl-config .hosting-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.25rem;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffb800' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
}

.account-ssl-config .hosting-select option {
    background: #0f172a;
    color: #fff;
}

.account-ssl-config .hosting-textarea {
    min-height: 7.5rem;
    resize: vertical;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--account-csr, #4ade80);
    caret-color: var(--account-csr, #4ade80);
}

.account-ssl-config .hosting-textarea::placeholder {
    color: var(--account-text-soft, #64748b);
    opacity: 1;
}

.account-ssl-config .hosting-row-fields {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 0.65rem;
}

.account-ssl-config .hosting-field {
    min-width: 0;
}

@media (max-width: 559px) {
    .account-ssl-config .hosting-row-fields {
        grid-template-columns: 1fr;
    }
}

.account-ssl-config .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 0.45rem;
    width: auto;
    max-width: 100%;
    min-height: 2.1rem;
    margin: 0.35rem auto 0;
    border: 0;
    border-radius: 999px;
    padding: 0.4rem 1.25rem;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--account-accent, #ffb800);
    color: #1c1c1c;
    transition: background 0.2s ease, opacity 0.2s ease;
    position: relative;
}

.account-ssl-config .btn-primary:hover:not(:disabled) {
    filter: brightness(1.08);
}

.account-ssl-config .btn-primary:disabled {
    opacity: 0.75;
    cursor: wait;
}

.account-ssl-config .btn-primary .account-btn-spinner {
    display: none;
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.account-ssl-config .btn-primary.is-loading .account-btn-label {
    display: none;
}

.account-ssl-config .btn-primary.is-loading .account-btn-spinner {
    display: inline-flex;
}
