:root {
    --primary: #1f6f5f;
    --primary-dark: #17584b;
    --primary-soft: #eaf5f2;

    --secondary: #e89034;
    --secondary-soft: #fff3e6;

    --danger: #d14343;
    --danger-soft: #fceaea;

    --warning: #d69322;
    --warning-soft: #fff7df;

    --success: #2d8a61;
    --success-soft: #e9f7ef;

    --info: #3a78c2;
    --info-soft: #eaf2fc;

    --purple: #7654b4;
    --purple-soft: #f0ebfa;

    --dark: #172126;
    --dark-soft: #e9ecee;

    --text: #27343a;
    --text-muted: #718087;

    --border: #e2e8ea;
    --background: #f4f7f8;
    --surface: #ffffff;

    --sidebar-width: 272px;
    --topbar-height: 78px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 4px 16px rgba(25, 48, 58, 0.06);
    --shadow-md: 0 12px 32px rgba(25, 48, 58, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--background);
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

/* =========================================================
   LOGIN
========================================================= */

.login-body {
    min-height: 100vh;
    background: #eff4f3;
}

.login-page {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 100vh;
}

.login-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    overflow: hidden;
    padding: 70px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            rgba(17, 76, 65, 0.96),
            rgba(26, 111, 94, 0.83)
        ),
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 255, 255, 0.16),
            transparent 35%
        );
}

.login-visual::before,
.login-visual::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.login-visual::before {
    top: -160px;
    right: -90px;
    width: 460px;
    height: 460px;
}

.login-visual::after {
    top: 70px;
    right: 50px;
    width: 270px;
    height: 270px;
}

.login-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(12, 46, 40, 0.32),
            transparent 60%
        );
}

.login-visual-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.login-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.login-visual h1 {
    max-width: 600px;
    margin: 0 0 20px;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.login-visual p {
    max-width: 620px;
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.login-security-list {
    display: grid;
    gap: 15px;
    margin-top: 42px;
}

.login-security-list > div {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.login-security-list i {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.11);
}

.login-form-area {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 45px;
}

.login-card {
    width: 100%;
    max-width: 470px;
    padding: 42px;
    border: 1px solid rgba(220, 229, 231, 0.9);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 28px 70px rgba(30, 67, 60, 0.12);
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-logo-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    color: #ffffff;
    font-size: 21px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        var(--primary),
        #2d927e
    );
    box-shadow: 0 10px 22px rgba(31, 111, 95, 0.22);
}

.login-logo strong,
.login-logo span {
    display: block;
}

.login-logo strong {
    font-size: 17px;
}

.login-logo span {
    margin-top: 3px;
    font-size: 12px;
    color: var(--text-muted);
}

.login-heading {
    margin: 42px 0 30px;
}

.login-heading h2 {
    margin: 0 0 8px;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.login-heading p {
    margin: 0;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 700;
}

.input-icon-group {
    position: relative;
}

.input-icon-group > i {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    color: #91a0a6;
    transform: translateY(-50%);
}

.input-icon-group input {
    width: 100%;
    height: 54px;
    padding: 0 52px 0 46px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 14px;
    outline: none;
    background: #fafcfc;
    transition: 0.2s ease;
}

.input-icon-group input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(31, 111, 95, 0.1);
}

.btn-toggle-password {
    position: absolute;
    top: 50%;
    right: 8px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    color: #7d8d93;
    border: 0;
    border-radius: 10px;
    background: transparent;
    transform: translateY(-50%);
}

.btn-toggle-password:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.btn-login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 56px;
    margin-top: 28px;
    padding: 0 20px;
    color: #ffffff;
    font-weight: 700;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(
        135deg,
        var(--primary),
        #2d927e
    );
    box-shadow: 0 12px 24px rgba(31, 111, 95, 0.2);
    transition: 0.2s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(31, 111, 95, 0.28);
}

.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 28px;
    font-size: 12px;
    color: var(--text-muted);
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 22px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 13px;
}

.alert-info {
    color: #285d91;
    border: 1px solid #cee1f5;
    background: var(--info-soft);
}

.alert-danger {
    color: #a63232;
    border: 1px solid #f3cdcd;
    background: var(--danger-soft);
}

/* =========================================================
   LAYOUT ADMINISTRATIVO
========================================================= */

.admin-body {
    min-height: 100vh;
    background: var(--background);
}

.app-layout {
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    width: var(--sidebar-width);
    color: #dce9e6;
    background:
        radial-gradient(
            circle at top right,
            rgba(66, 151, 131, 0.22),
            transparent 32%
        ),
        #153a33;
    transition: transform 0.25s ease;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: var(--topbar-height);
    padding: 0 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logo {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 43px;
    height: 43px;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        #2e8e79,
        #49a78f
    );
}

.sidebar-brand-text strong,
.sidebar-brand-text span {
    display: block;
}

.sidebar-brand-text strong {
    color: #ffffff;
    font-size: 15px;
}

.sidebar-brand-text span {
    margin-top: 3px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
}

.sidebar-nav {
    flex: 1;
    padding: 20px 14px;
    overflow-y: auto;
}

.sidebar-section-title {
    margin: 20px 12px 8px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sidebar-section-title:first-child {
    margin-top: 3px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 46px;
    margin-bottom: 4px;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 500;
    border-radius: 12px;
    transition: 0.18s ease;
}

.sidebar-link i {
    width: 20px;
    font-size: 15px;
    text-align: center;
}

.sidebar-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.sidebar-link.active {
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        rgba(60, 154, 133, 0.95),
        rgba(44, 125, 108, 0.95)
    );
    box-shadow: 0 8px 20px rgba(4, 31, 25, 0.22);
}

.sidebar-footer {
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-security-card {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.06);
}

.sidebar-security-card > i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #b8e7dc;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.07);
}

.sidebar-security-card strong,
.sidebar-security-card span {
    display: block;
}

.sidebar-security-card strong {
    color: #ffffff;
    font-size: 11px;
}

.sidebar-security-card span {
    margin-top: 3px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: none;
    opacity: 0;
    background: rgba(15, 28, 34, 0.55);
    transition: opacity 0.2s ease;
}

.sidebar-overlay.visible {
    display: block;
    opacity: 1;
}

.app-main {
    min-height: 100vh;
    margin-left: var(--sidebar-width);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--topbar-height);
    padding: 0 32px;
    border-bottom: 1px solid rgba(225, 232, 234, 0.95);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
}

.topbar-left,
.topbar-actions {
    display: flex;
    align-items: center;
}

.topbar-left {
    gap: 15px;
}

.topbar-actions {
    gap: 12px;
}

.sidebar-toggle {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
}

.topbar-title span,
.topbar-title strong {
    display: block;
}

.topbar-title span {
    margin-bottom: 3px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.topbar-title strong {
    font-size: 15px;
}

.topbar-icon-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
}

.notification-dot {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 7px;
    height: 7px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--danger);
}

.user-menu {
    position: relative;
}

.user-menu-button {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 5px 8px 5px 5px;
    color: var(--text);
    border: 0;
    border-radius: 14px;
    background: transparent;
}

.user-menu-button:hover {
    background: #f3f6f6;
}

.user-avatar {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        var(--primary),
        #36937f
    );
}

.user-menu-text {
    min-width: 135px;
    text-align: left;
}

.user-menu-text strong,
.user-menu-text span {
    display: block;
}

.user-menu-text strong {
    max-width: 170px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-text span {
    max-width: 170px;
    margin-top: 3px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    text-transform: capitalize;
    white-space: nowrap;
}

.user-menu-button > i {
    color: #89979c;
    font-size: 10px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 11px);
    right: 0;
    z-index: 100;
    display: none;
    width: 235px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.user-dropdown.visible {
    display: block;
}

.user-dropdown-header {
    padding: 11px;
}

.user-dropdown-header strong,
.user-dropdown-header span {
    display: block;
}

.user-dropdown-header strong {
    font-size: 12px;
}

.user-dropdown-header span {
    margin-top: 4px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-divider {
    height: 1px;
    margin: 2px 0 7px;
    background: var(--border);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    color: var(--danger);
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
}

.user-dropdown a:hover {
    background: var(--danger-soft);
}

.content-wrapper {
    min-height: calc(100vh - var(--topbar-height) - 58px);
    padding: 30px 32px 45px;
}

.app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 32px;
    color: var(--text-muted);
    font-size: 10px;
    border-top: 1px solid var(--border);
    background: #ffffff;
}

/* =========================================================
   CABEÇALHO DAS PÁGINAS
========================================================= */

.page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 28px;
}

.page-eyebrow,
.panel-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.page-header h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.05em;
}

.page-header p {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.page-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 43px;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 9px 18px rgba(31, 111, 95, 0.18);
}

.button-primary:hover {
    background: var(--primary-dark);
}

.button-secondary {
    color: var(--text);
    border-color: var(--border);
    background: #ffffff;
}

.button-secondary:hover {
    color: var(--primary);
    border-color: #b9d6cf;
}

.button-light {
    color: var(--primary);
    background: var(--primary-soft);
}

.button-full {
    width: 100%;
}

/* =========================================================
   CARDS DO DASHBOARD
========================================================= */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.metric-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-height: 145px;
    padding: 21px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.metric-card::after {
    position: absolute;
    right: -35px;
    bottom: -55px;
    width: 110px;
    height: 110px;
    content: "";
    border-radius: 50%;
    background: currentColor;
    opacity: 0.035;
}

.metric-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 45px;
    height: 45px;
    font-size: 17px;
    border-radius: 14px;
}

.metric-content span,
.metric-content strong,
.metric-content small {
    display: block;
}

.metric-content span {
    margin-top: 1px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
}

.metric-content strong {
    margin-top: 8px;
    font-size: 28px;
    letter-spacing: -0.04em;
}

.metric-content small {
    margin-top: 7px;
    color: #98a4a9;
    font-size: 9px;
}

.metric-neutral .metric-icon {
    color: #52656d;
    background: #eef1f2;
}

.metric-blue .metric-icon {
    color: var(--info);
    background: var(--info-soft);
}

.metric-purple .metric-icon {
    color: var(--purple);
    background: var(--purple-soft);
}

.metric-orange .metric-icon {
    color: #dc7f22;
    background: var(--secondary-soft);
}

.metric-yellow .metric-icon {
    color: var(--warning);
    background: var(--warning-soft);
}

.metric-red .metric-icon {
    color: var(--danger);
    background: var(--danger-soft);
}

.metric-dark .metric-icon {
    color: var(--dark);
    background: var(--dark-soft);
}

.metric-green .metric-icon {
    color: var(--success);
    background: var(--success-soft);
}

/* =========================================================
   PAINÉIS
========================================================= */

.dashboard-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(300px, 0.75fr);
    gap: 20px;
}

.dashboard-side-column {
    display: grid;
    align-content: start;
    gap: 20px;
}

.dashboard-panel {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 21px 22px;
    border-bottom: 1px solid var(--border);
}

.panel-header h2 {
    margin: 0;
    font-size: 16px;
    letter-spacing: -0.025em;
}

.panel-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
}

.panel-link:hover {
    gap: 10px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 15px 17px;
    text-align: left;
    border-bottom: 1px solid #edf1f2;
    white-space: nowrap;
}

.data-table th {
    color: #829096;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: #fafcfc;
}

.data-table td {
    font-size: 11px;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table tbody tr:hover {
    background: #fbfdfd;
}

.protocol-number {
    display: block;
    color: var(--primary);
    font-size: 11px;
}

.table-subtitle {
    display: block;
    margin-top: 4px;
    color: #95a2a7;
    font-size: 9px;
}

.status-badge,
.severity-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    font-size: 9px;
    font-weight: 700;
    border-radius: 999px;
}

.status-blue {
    color: #28689f;
    background: var(--info-soft);
}

.status-purple {
    color: #64459e;
    background: var(--purple-soft);
}

.status-orange {
    color: #b4681c;
    background: var(--secondary-soft);
}

.status-yellow {
    color: #9f7219;
    background: var(--warning-soft);
}

.status-red {
    color: #ac3434;
    background: var(--danger-soft);
}

.status-green {
    color: #267650;
    background: var(--success-soft);
}

.status-gray {
    color: #5c6d74;
    background: #edf1f2;
}

.severity-low {
    color: #267650;
    background: var(--success-soft);
}

.severity-medium {
    color: #9f7219;
    background: var(--warning-soft);
}

.severity-high {
    color: #b65d1c;
    background: var(--secondary-soft);
}

.severity-critical {
    color: #a72f2f;
    background: var(--danger-soft);
}

.table-actions {
    text-align: right !important;
}

.icon-action {
    display: inline-grid;
    place-items: center;
    width: 33px;
    height: 33px;
    color: var(--primary);
    border-radius: 10px;
    background: var(--primary-soft);
}

.icon-action:hover {
    color: #ffffff;
    background: var(--primary);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 30px;
    color: var(--text-muted);
    text-align: center;
}

.empty-state i {
    margin-bottom: 15px;
    color: #b7c2c6;
    font-size: 30px;
}

.empty-state strong {
    color: var(--text);
    font-size: 13px;
}

.empty-state span {
    margin-top: 7px;
    font-size: 10px;
}

.empty-state.compact {
    min-height: 140px;
}

.category-list {
    display: grid;
    gap: 19px;
    padding: 22px;
}

.category-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 9px;
    font-size: 10px;
}

.category-item-header span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-item-header strong {
    flex: 0 0 auto;
    font-size: 11px;
}

.progress-track {
    width: 100%;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf1f2;
}

.progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--primary),
        #45a58e
    );
}

.plan-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 22px 15px;
}

.plan-summary-icon {
    display: grid;
    place-items: center;
    width: 51px;
    height: 51px;
    color: var(--primary);
    font-size: 19px;
    border-radius: 16px;
    background: var(--primary-soft);
}

.plan-summary strong,
.plan-summary span {
    display: block;
}

.plan-summary strong {
    font-size: 25px;
    letter-spacing: -0.04em;
}

.plan-summary span {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 10px;
}

.plan-warning,
.plan-success {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 22px 17px;
    padding: 12px 13px;
    font-size: 10px;
    line-height: 1.5;
    border-radius: 11px;
}

.plan-warning {
    color: #a64a2b;
    background: var(--danger-soft);
}

.plan-success {
    color: #267650;
    background: var(--success-soft);
}

.dashboard-panel .button-full {
    width: calc(100% - 44px);
    margin: 0 22px 22px;
}

/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 1280px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-columns {
        grid-template-columns: 1fr;
    }

    .dashboard-side-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .login-visual {
        display: none;
    }

    .login-form-area {
        padding: 25px;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .app-main {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: grid;
    }

    .topbar {
        padding: 0 20px;
    }

    .content-wrapper {
        padding: 25px 20px 40px;
    }

    .app-footer {
        padding: 0 20px;
    }
}

@media (max-width: 700px) {
    .login-card {
        padding: 30px 24px;
        border-radius: 22px;
    }

    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-header-actions {
        width: 100%;
    }

    .page-header-actions .button {
        flex: 1;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-side-column {
        grid-template-columns: 1fr;
    }

    .user-menu-text {
        display: none;
    }

    .user-menu-button > i {
        display: none;
    }

    .topbar-title span {
        display: none;
    }

    .app-footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }
}

@media (max-width: 460px) {
    .login-form-area {
        padding: 14px;
    }

    .login-card {
        padding: 26px 19px;
    }

    .login-heading {
        margin-top: 32px;
    }

    .page-header-actions {
        flex-direction: column;
    }

    .page-header-actions .button {
        width: 100%;
    }

    .content-wrapper {
        padding-right: 14px;
        padding-left: 14px;
    }

    .topbar {
        padding-right: 14px;
        padding-left: 14px;
    }
}