.cliente-smtp-config-index {
    max-width: 1680px;
}

.smtp-warning-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #fde68a;
    border-radius: 8px;
    background: #fffbeb;
    color: #0f172a;
}

.smtp-warning-strip__icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fef3c7;
    color: #92400e;
    font-size: 1.1rem;
}

.smtp-config-card .card-body,
.smtp-side-card .card-body {
    padding: 16px;
}

.smtp-form-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.smtp-form-section {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.smtp-form-section__head,
.smtp-side-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.smtp-form-section__head h2,
.smtp-side-card__head h2 {
    margin: 0;
    color: #111827;
    font-size: .98rem;
    font-weight: 700;
}

.smtp-form-section__head p,
.smtp-side-card__head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: .84rem;
}

.smtp-form-section__head code {
    max-width: 100%;
    padding: 3px 7px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #475569;
    font-size: .78rem;
    white-space: normal;
}

.smtp-form-section .form-control,
.smtp-form-section .form-select,
.smtp-side-card .form-control {
    min-height: 40px;
}

.smtp-form-section .help-block,
.smtp-form-section .form-text,
.smtp-side-card .form-text {
    color: #64748b;
    font-size: .82rem;
}

.smtp-actions-bar {
    display: flex;
    justify-content: flex-end;
    padding-top: 2px;
}

.smtp-technical-box {
    max-height: 280px;
    margin: 0;
    overflow: auto;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: .78rem;
    white-space: pre-wrap;
    word-break: break-word;
}

[data-theme="dark"] .smtp-warning-strip {
    border-color: #713f12;
    background: #1f1b12;
    color: #f3f4f6;
}

[data-theme="dark"] .smtp-warning-strip__icon {
    background: #422006;
    color: #facc15;
}

[data-theme="dark"] .smtp-form-section {
    border-color: var(--shell-border);
    background: var(--shell-surface);
}

[data-theme="dark"] .smtp-form-section__head h2,
[data-theme="dark"] .smtp-side-card__head h2 {
    color: #f3f4f6;
}

[data-theme="dark"] .smtp-form-section__head code,
[data-theme="dark"] .smtp-technical-box {
    border-color: var(--shell-border);
    background: #111827;
    color: #cbd5e1;
}

@media (max-width: 991.98px) {
    .smtp-warning-strip,
    .smtp-form-section__head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .smtp-actions-bar,
    .smtp-actions-bar .btn,
    .smtp-side-card .btn {
        width: 100%;
    }
}
