﻿.settings-content {
    min-height: calc(100vh - 82px);
}

.settings-header {
    box-shadow: 0 8px 25px rgba(15, 23, 42, .08);
}

.settings-header-copy {
    min-width: 0;
}

.header-section-tag {
    background: rgba(255, 255, 255, .14);
    color: #dbeafe;
    border: 1px solid rgba(191, 219, 254, .35);
    border-radius: 50px;
    padding: 8px 13px;
    font-size: .75rem;
    white-space: nowrap;
}

.settings-section {
    display: none;
    animation: settings-in .3s ease;
}

    .settings-section.active-section {
        display: block;
    }

@keyframes settings-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-heading {
    display: none;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

    .section-heading h4 {
        color: #1e293b;
        font-weight: 800;
        margin: 0 0 5px;
    }

    .section-heading p {
        color: #64748b;
        font-size: .86rem;
        margin: 0;
    }

.section-tag {
    background: #e0e7ff;
    color: #4338ca;
    border-radius: 50px;
    padding: 8px 13px;
    font-size: .75rem;
    white-space: nowrap;
}

.setting-card {
    padding: 22px;
    overflow: visible;
}

.card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

    .card-title-row h5 {
        font-size: 1rem;
        font-weight: 800;
        color: #334155;
        margin: 0;
    }

        .card-title-row h5 i {
            margin-left: 8px;
        }

    .card-title-row small {
        color: #94a3b8;
        font-size: .72rem;
        direction: ltr;
    }

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

    .status-row:last-child {
        border-bottom: 0;
    }

    .status-row strong, .status-row small {
        display: block;
    }

    .status-row small {
        color: #94a3b8;
        font-size: .76rem;
        margin-top: 3px;
    }

    .status-row .form-check {
        direction: ltr;
    }

.mini-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    background: #f8fafc;
    border-radius: 12px;
}

    .mini-stat > i {
        color: #3b82f6;
        font-size: 1.35rem;
    }

    .mini-stat div {
        flex: 1;
    }

    .mini-stat strong, .mini-stat small {
        display: block;
    }

    .mini-stat small {
        color: #64748b;
        font-size: .75rem;
        margin-top: 3px;
    }

    .mini-stat b {
        color: #16a34a;
        font-size: .8rem;
    }

.settings-table thead th, .settings-table td {
    white-space: nowrap;
}

.soft-badge {
    border-radius: 50px;
    padding: 5px 10px;
    font-size: .72rem;
    direction: ltr;
    display: inline-block;
}

    .soft-badge.blue {
        background: #dbeafe;
        color: #1d4ed8;
    }

    .soft-badge.purple {
        background: #ede9fe;
        color: #6d28d9;
    }

    .soft-badge.gray {
        background: #f1f5f9;
        color: #64748b;
    }

    .soft-badge.green {
        background: #dcfce7;
        color: #15803d;
    }

.compact-select {
    width: 125px;
    padding: 7px 10px;
}

.compact-input {
    width: 90px;
    padding: 7px 10px;
}

.settings-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    color: #64748b;
    font-size: .8rem;
}

    .settings-footer i {
        color: #16a34a;
        margin-left: 5px;
    }

@media (max-width: 575.98px) {
    .settings-content {
        padding: 16px 10px;
    }

    .settings-header > div {
        padding: 14px !important;
    }

    .settings-header .btn {
        display: none !important;
    }

    .section-heading {
        flex-direction: column;
    }

    .setting-card {
        padding: 16px;
    }

    .settings-footer {
        align-items: stretch;
        flex-direction: column;
    }

        .settings-footer .btn {
            width: 100%;
        }
}
