﻿.sas-page-content {
    min-width: 0;
    padding: 24px 28px 40px;
}

.sas-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 22px;
}

.sas-page-eyebrow {
    margin-bottom: 5px;
    color: #2f8cff;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sas-page-header h1 {
    margin: 0;
    color: #f7f9fc;
    font-size: 1.7rem;
    font-weight: 760;
}

.sas-page-header p {
    margin: 6px 0 0;
    color: #8494a8;
    font-size: 0.82rem;
}

.sas-page-primary-button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #1675e8;
    border-radius: 7px;
    background: linear-gradient( 180deg, #1675e8, #0d5fc2);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 650;
}

    .sas-page-primary-button:hover {
        background: linear-gradient( 180deg, #2185fb, #116bd7);
    }

.sas-page-panel {
    overflow: hidden;
    border: 1px solid #1d3043;
    border-radius: 8px;
    background: linear-gradient( 135deg, rgba(10, 29, 45, 0.98), rgba(8, 24, 37, 0.98));
}

.sas-page-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

    .sas-page-panel-header h2 {
        margin: 0;
        color: #6bb8ff;
        font-size: 0.82rem;
        font-weight: 760;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }

    .sas-page-panel-header p {
        margin: 4px 0 0;
        color: #748497;
        font-size: 0.72rem;
    }

.sas-table-wrapper {
    overflow-x: auto;
}

.sas-table {
    width: 100%;
    border-collapse: collapse;
    color: #dbe3ec;
    font-size: 0.76rem;
}

    .sas-table th,
    .sas-table td {
        padding: 13px 14px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.10);
        text-align: left;
        vertical-align: middle;
        white-space: nowrap;
    }

    .sas-table th {
        background: rgba(255, 255, 255, 0.035);
        color: #9aa8b8;
        font-size: 0.7rem;
        font-weight: 650;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }

    .sas-table tbody tr:hover {
        background: rgba(47, 111, 237, 0.06);
    }

    .sas-table tbody tr:last-child td {
        border-bottom: 0;
    }

.sas-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 0.67rem;
    font-weight: 700;
}

.sas-status-active {
    background: rgba(38, 154, 85, 0.18);
    color: #53d781;
}

.sas-status-inactive {
    background: rgba(148, 163, 184, 0.13);
    color: #9eacbb;
}

.sas-table-action {
    padding: 6px 10px;
    border: 1px solid #255b91;
    border-radius: 6px;
    background: transparent;
    color: #61adf6;
    font-size: 0.7rem;
}

    .sas-table-action:hover {
        border-color: #2f8cff;
        background: rgba(47, 140, 255, 0.10);
        color: #8fc6ff;
    }

.sas-page-empty-state,
.sas-page-message {
    padding: 28px;
    color: #8494a8;
    text-align: center;
}

.sas-page-message-error {
    color: #ff6b67;
}

.sas-dialog-area {
    margin-top: 20px;
}

@media (max-width: 760px) {
    .sas-page-content {
        padding: 18px 14px 30px;
    }

    .sas-page-header {
        flex-direction: column;
    }

    .sas-page-primary-button {
        width: 100%;
    }
}
