:root {
    --sf-ink: #1c2431;
    --sf-muted: #5d6b7d;
    --sf-surface: #ffffff;
    --sf-bg-1: #f4f8fb;
    --sf-bg-2: #e6eef6;
    --sf-brand: #033dd1;
    --sf-brand-2: #002b96;
    --sf-border: #d7e0ea;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--sf-ink);
    background: radial-gradient(circle at 10% 20%, #ffffff 0%, #f6fbff 36%, #edf3fa 100%);
    min-height: 100vh;
}

.auth-page,
.dashboard-page {
    min-height: 100vh;
    background-color: #e2edf3;
    background-size: cover, 22px 22px, 22px 22px;
}

.auth-card {
    background-color: var(--sf-surface);
    border: 1px solid var(--sf-border);
}

.auth-side {
    background: linear-gradient(160deg, #0146f4, #0039C7 55%, #00237b 100%);
}

.auth-side-list {
    color: rgba(255, 255, 255, 0.92);
}

.nav-pills .nav-link {
    color: var(--sf-brand-2);
    background: #eff6fb;
    border: 1px solid #d8e3f0;
    font-weight: 600;
}

.nav-pills .nav-link.active {
    background: linear-gradient(140deg, var(--sf-brand), var(--sf-brand-2));
    border-color: transparent;
}

.form-control,
.form-select {
    border-color: #cfdceb;
    min-height: 44px;
}

.form-control:focus,
.form-select:focus {
    border-color: #65a7c7;
    box-shadow: 0 0 0 0.2rem rgba(21, 94, 117, 0.15);
}

.btn-brand {
    background: linear-gradient(140deg, var(--sf-brand), var(--sf-brand-2));
    border: 0;
    color: #ffffff;
    font-weight: 600;
}

.btn-brand:hover,
.btn-brand:focus {
    color: #ffffff;
    filter: brightness(1.03);
}

.faq-box,
.soft-panel,
.info-box {
    background: linear-gradient(140deg, #f8fbff, #eef5fb);
    border: 1px solid #dae5f1;
    border-radius: 12px;
    padding: 14px 16px;
}

.soft-panel {
    padding: 16px;
}

.info-box {
    min-height: 86px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sf-editor {
    border: 1px solid #cfdceb;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #ffffff;
}

.sf-editor__toolbar {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    padding: 0.45rem;
    border-bottom: 1px solid #dfe7f1;
    background: #f7f9fc;
}

.sf-editor__content {
    min-height: 140px;
    padding: 0.75rem;
    line-height: 1.45;
    outline: none;
}

.sf-editor__content:empty:before {
    content: attr(data-placeholder);
    color: #7d8b9a;
}

.sf-editor__content.is-invalid {
    box-shadow: inset 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.js-wysiwyg-target {
    display: none;
}

.sf-message-html {
    white-space: normal;
    word-break: break-word;
}

.sf-message-html ul,
.sf-message-html ol {
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
}

#logo > img {
    width:100%; 
    max-width: 150px; 
    margin: 5px 0 6px 0;
}

@media (max-width: 991px) {
    .auth-side {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 768px) {
    #logo > img {
        max-width: 100px;
    }
    #login-description{
        margin-bottom: 0 !important;
    }
    .auth-page #logo.step-other {
        display: none;
    }
}

@media (max-width: 575px) {
    .auth-page,
    .dashboard-page{
        padding: 0 !important;
        background: white !important;
    }
    .auth-page{
        padding-top: 10px !important;
    }
    .auth-page > .container .auth-card,
    .dashboard-page > .container .card{
        border: 0 !important;
        box-shadow: none !important;
    }
    .auth-page .badge{
        display: none;
    }
    .auth-page h1{
        text-align: center;
        margin-bottom: 0 !important;
    }
    .dashboard-page > .container .card{
        border-radius: 0 !important;
    }
    .dashboard-page > .container .card > .card-body{
        padding: 1rem 0.5rem !important;
    }
    #login-description{
        display: none;
    }
}
