/* ============================================================
   RESET E BASE
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 15px;
}

body {
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-weight: 500;
    line-height: 1.5;

    color: #0f172a;
    background: #f8f4f4;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    font-size: .95rem;
    color: #64748b;
}

label {
    font-size: .88rem;
    font-weight: 600;
    color: #475569;
}

button {
    font-family: inherit;
    font-weight: 600;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: .95rem;
}


/* ============================================================
   SIDEBAR
============================================================ */

.sidebar {
    position: fixed;
    top: 0;
    left: -280px;

    width: 270px;
    height: 100vh;
    height: 100dvh;

    display: flex;
    flex-direction: column;

    padding: 0;

    overflow: hidden;

    background: #ffffff;

    box-shadow: 10px 0 30px rgba(0, 0, 0, .08);

    z-index: 1040;

    transition: left .3s ease;
}

.sidebar.open {
    left: 0;
}

.sidebar-top {
    min-height: 76px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px;

    background: #ffffff;

    border-bottom: 1px solid #ececec;

    position: relative;
    z-index: 2;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
}

.close-sidebar {
    width: 40px;
    height: 40px;

    padding: 0;

    background: #f3f3f3;

    border: none;
    border-radius: 14px;

    cursor: pointer;

    transition: background-color .2s ease;
}

.close-sidebar:hover {
    background: #ececec;
}

.menu-list {
    flex: 1;
    min-height: 0;

    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 18px;

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior: contain;

    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.menu-list::-webkit-scrollbar {
    width: 6px;
}

.menu-list::-webkit-scrollbar-track {
    background: transparent;
}

.menu-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.menu-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.menu-item {
    width: 100%;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 15px 16px;

    background: #f7f7f7;
    color: #111111;

    border: none;
    border-radius: 18px;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    cursor: pointer;

    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.menu-item i {
    font-size: 15px;
}

.menu-item.active {
    background: #111111;
    color: #ffffff;
}

.menu-item:hover {
    transform: translateX(3px);
}

.overlay {
    position: fixed;
    inset: 0;

    display: none;

    background: rgba(0, 0, 0, .35);

    z-index: 1035;
}

.overlay.show {
    display: block;
}


/* ============================================================
   CONTEÚDO PRINCIPAL
============================================================ */

.main-content {
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    padding-top: 80px;
}

.main-content main {
    flex: 1;
}

.container {
    padding: 20px;
}


/* ============================================================
   NAVBAR ADMIN
============================================================ */

.admin-navbar {
    height: 70px;

    padding: 0 24px;

    background: #ffffff;

    border-bottom: 1px solid #e2e8f0;

    box-shadow: 0 8px 25px rgba(15, 23, 42, .05);

    z-index: 1030;
}

.admin-navbar-inner {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.admin-navbar-left,
.admin-navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-navbar-icon-btn {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    position: relative;

    padding: 0;

    background: #f8fafc;
    color: #475569;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    font-size: 16px;

    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.admin-navbar-icon-btn:hover,
.admin-navbar-icon-btn:focus,
.admin-navbar-icon-btn[aria-expanded="true"] {
    background: #0f172a;
    color: #ffffff;

    border-color: #0f172a;

    box-shadow: 0 8px 18px rgba(15, 23, 42, .14);

    transform: translateY(-1px);
}

.admin-navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #0f172a;

    text-decoration: none;
}

.admin-navbar-brand:hover {
    color: #0f172a;
}

.admin-navbar-brand-icon {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #0f172a;
    color: #ffffff;

    border-radius: 12px;

    font-size: 15px;
}

.admin-navbar-brand-text {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em;
}


/* ============================================================
   NOTIFICAÇÕES
============================================================ */

.admin-notif-dropdown {
    position: relative;
}

.admin-notif-trigger {
    overflow: visible;
}

.admin-notif-trigger i {
    color: inherit;
}

.admin-notif-badge {
    position: absolute;
    top: -7px;
    right: -7px;

    width: 22px;
    min-width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: #ef4444;
    color: #ffffff;

    border: 3px solid #ffffff;
    border-radius: 50%;

    font-size: 10px;
    font-weight: 800;
    line-height: 1;

    box-shadow: 0 4px 10px rgba(239, 68, 68, .28);

    z-index: 3;
}

.admin-notif-badge.is-empty {
    display: none;
}

.admin-notif-menu.dropdown-menu {
    width: min(390px, calc(100vw - 24px));

    margin-top: 12px !important;
    padding: 0 !important;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;

    box-shadow:
        0 24px 65px rgba(15, 23, 42, .16),
        0 8px 25px rgba(15, 23, 42, .08) !important;
}

.admin-notif-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;

    padding: 18px;

    background: #ffffff;

    border-bottom: 1px solid #f1f5f9;
}

.admin-notif-title {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-notif-title strong {
    color: #0f172a;

    font-size: 15px;
    font-weight: 800;
}

.admin-notif-title small {
    color: #94a3b8;

    font-size: 11px;
    font-weight: 600;
}

.admin-notif-read-all {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 8px 10px;

    background: #f8fafc;
    color: #475569;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.admin-notif-read-all:hover:not(:disabled) {
    background: #0f172a;
    color: #ffffff;

    border-color: #0f172a;
}

.admin-notif-read-all:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.admin-notif-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;

    padding: 10px 12px;

    background: #f8fafc;

    border-bottom: 1px solid #e2e8f0;
}

.admin-notif-tab {
    min-width: 0;

    padding: 9px 8px;

    background: transparent;
    color: #64748b;

    border: 1px solid transparent;
    border-radius: 10px;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.admin-notif-tab:hover {
    background: #ffffff;
    color: #0f172a;

    border-color: #e2e8f0;
}

.admin-notif-tab.is-active {
    background: #0f172a;
    color: #ffffff;

    border-color: #0f172a;

    box-shadow: 0 6px 14px rgba(15, 23, 42, .12);
}

.admin-notif-list {
    max-height: 360px;

    overflow-x: hidden;
    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.admin-notif-list::-webkit-scrollbar {
    width: 6px;
}

.admin-notif-list::-webkit-scrollbar-track {
    background: transparent;
}

.admin-notif-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.admin-notif-item,
#notifList .notif-item {
    width: 100%;

    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 32px;
    align-items: start;
    gap: 11px;

    position: relative;

    margin: 0;
    padding: 14px 14px 14px 16px;

    background: #ffffff;
    color: #334155;

    border: 0;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 0;

    text-decoration: none;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.admin-notif-item:last-child,
#notifList .notif-item:last-child {
    border-bottom: none;
}

.admin-notif-item:hover,
#notifList .notif-item:hover {
    background: #f8fafc;
}

.admin-notif-item.is-unread,
.admin-notif-item.unread,
#notifList .notif-item.is-unread,
#notifList .notif-item.unread {
    background: #f8fafc;
}

.admin-notif-item.is-unread::before,
.admin-notif-item.unread::before,
#notifList .notif-item.is-unread::before,
#notifList .notif-item.unread::before {
    content: "";

    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;

    width: 3px;

    background: #0f172a;

    border-radius: 0 999px 999px 0;
}

.admin-notif-icon,
#notifList .notif-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: #f1f5f9;
    color: #334155;

    border: 1px solid #e2e8f0;
    border-radius: 13px;

    font-size: 14px;
}

.admin-notif-item.is-unread .admin-notif-icon,
.admin-notif-item.unread .admin-notif-icon,
#notifList .notif-item.is-unread .notif-icon,
#notifList .notif-item.unread .notif-icon {
    background: #0f172a;
    color: #ffffff;

    border-color: #0f172a;
}

.admin-notif-content,
#notifList .notif-content {
    min-width: 0;

    display: block;
}

.admin-notif-name,
#notifList .notif-title {
    display: block;

    margin: 0 0 4px;
    padding: 0;

    overflow: hidden;

    color: #0f172a !important;

    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.35;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-notif-message,
#notifList .notif-message {
    display: -webkit-box;

    margin: 0 !important;
    padding: 0;

    overflow: hidden;

    color: #64748b !important;

    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.45;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.admin-notif-meta,
#notifList .notif-time {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-top: 7px;

    color: #94a3b8 !important;

    font-size: 10px !important;
    font-weight: 700 !important;
}

.admin-notif-meta-dot {
    width: 4px;
    height: 4px;

    background: #cbd5e1;

    border-radius: 50%;
}

.admin-notif-status-btn,
#notifList .notif-status-btn,
#notifList [data-notification-action="toggle"] {
    width: 30px;
    height: 30px;
    min-width: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: transparent;
    color: #94a3b8;

    border: 1px solid transparent;
    border-radius: 9px;

    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.admin-notif-status-btn:hover,
#notifList .notif-status-btn:hover,
#notifList [data-notification-action="toggle"]:hover {
    background: #ffffff;
    color: #0f172a;

    border-color: #e2e8f0;
}

#notifList a.notif-item,
#notifList a.admin-notif-item {
    color: inherit !important;
    text-decoration: none !important;
}

.admin-notif-empty,
#notifList .notif-empty {
    min-height: 230px;

    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 34px 24px;

    color: #94a3b8;

    text-align: center;
}

.admin-notif-empty.is-visible,
#notifList .notif-empty.is-visible {
    display: flex;
}

.admin-notif-empty-icon {
    width: 58px;
    height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 4px;

    background: #f8fafc;
    color: #94a3b8;

    border: 1px dashed #cbd5e1;
    border-radius: 18px;

    font-size: 20px;
}

.admin-notif-empty strong {
    color: #0f172a;

    font-size: 13px;
    font-weight: 800;
}

.admin-notif-empty span {
    max-width: 230px;

    color: #94a3b8;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

.admin-notif-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 13px 16px;

    background: #f8fafc;
    color: #475569;

    border-top: 1px solid #e2e8f0;

    font-size: 11px;
    font-weight: 800;
    text-decoration: none;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.admin-notif-footer:hover {
    background: #0f172a;
    color: #ffffff;
}


/* ============================================================
   MENU DO USUÁRIO
============================================================ */

.admin-user-dropdown {
    position: relative;
}

.admin-user-trigger {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 5px 12px 5px 6px;

    background: #f8fafc;
    color: #334155;

    border: 1px solid #e2e8f0;
    border-radius: 15px;

    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.admin-user-trigger:hover,
.admin-user-trigger:focus,
.admin-user-trigger[aria-expanded="true"] {
    background: #ffffff;

    border-color: #cbd5e1;

    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);

    transform: translateY(-1px);
}

.admin-user-avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #0f172a;
    color: #ffffff;

    border-radius: 11px;

    font-size: 12px;
}

.admin-user-trigger-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    line-height: 1.2;
}

.admin-user-trigger-info strong,
.admin-user-trigger-info small {
    max-width: 140px;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-trigger-info strong {
    color: #0f172a;

    font-size: 12px;
    font-weight: 800;
}

.admin-user-trigger-info small {
    color: #94a3b8;

    font-size: 9px;
    font-weight: 700;

    text-transform: capitalize;
}

.admin-user-chevron {
    margin-left: 2px;

    color: #94a3b8;

    font-size: 9px;

    transition: transform .2s ease;
}

.admin-user-trigger[aria-expanded="true"] .admin-user-chevron {
    transform: rotate(180deg);
}

.admin-user-menu.dropdown-menu {
    width: 260px;

    margin-top: 12px !important;
    padding: 0 !important;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, .14),
        0 8px 22px rgba(15, 23, 42, .07) !important;
}

.admin-user-menu-header {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 16px;

    background: #f8fafc;

    border-bottom: 1px solid #e2e8f0;
}

.admin-user-menu-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #0f172a;
    color: #ffffff;

    border-radius: 13px;

    font-size: 14px;
}

.admin-user-menu-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-user-menu-info strong {
    overflow: hidden;

    color: #0f172a;

    font-size: 13px;
    font-weight: 800;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-menu-info span {
    width: fit-content;

    padding: 4px 8px;

    background: #e2e8f0;
    color: #475569;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 800;
    text-transform: capitalize;
}

.admin-user-menu-links {
    display: flex;
    flex-direction: column;
    gap: 5px;

    padding: 8px;
}

.admin-user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px;

    color: #475569;

    border-radius: 11px;

    font-size: 12px;
    font-weight: 700;
    text-decoration: none;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.admin-user-menu-item:hover {
    background: #f8fafc;
    color: #0f172a;
}

.admin-user-menu-item-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #f1f5f9;
    color: #64748b;

    border-radius: 9px;

    font-size: 11px;
}

.admin-user-menu-item.is-danger {
    color: #dc2626;
}

.admin-user-menu-item.is-danger:hover {
    background: #fff1f2;
    color: #b91c1c;
}

.admin-user-menu-item.is-danger .admin-user-menu-item-icon {
    background: #fee2e2;
    color: #dc2626;
}


/* ============================================================
   PERFIL E ABAS
============================================================ */

.nav-tabs .nav-link {
    color: #6c757d;

    border-bottom: 2px solid transparent !important;

    transition:
        color .3s ease,
        border-color .3s ease;
}

.nav-tabs .nav-link.active {
    color: #000000 !important;
    background: transparent !important;

    border-bottom: 2px solid #000000 !important;
}

.nav-tabs .nav-link:hover {
    color: #000000;
    border-color: transparent;
}


/* ============================================================
   CABEÇALHOS DAS PÁGINAS
============================================================ */

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;

    margin-bottom: 24px;
}

.page-header h1 {
    margin-bottom: 6px;

    font-size: 28px;
}

.page-header p {
    color: #666666;

    font-size: 14px;
}

.page-title-area {
    margin-top: 24px;
    margin-bottom: 24px;

    padding-bottom: 8px;
}

.page-title-area h1,
.page-title {
    color: #0f172a;

    font-size: 2rem;
    font-weight: 700;
}

.page-title-area p,
.page-subtitle {
    margin: 0;

    color: #64748b;

    font-size: .95rem;
}


/* ============================================================
   TABELA DE OFERTAS
============================================================ */

.offer-table-info {
    min-width: 280px;

    display: flex;
    align-items: center;
    gap: 14px;
}

.offer-table-image {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;

    overflow: hidden;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.offer-table-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}

.offer-table-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f8fafc;
    color: #94a3b8;

    font-size: 21px;
}

.offer-table-details {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.offer-table-details strong {
    color: #0f172a;
}

.offer-table-description {
    display: block;

    max-width: 280px;

    color: #64748b;

    font-size: 12px;
    line-height: 1.4;
}


/* ============================================================
   TOAST SWEETALERT
============================================================ */

.admin-toast {
    padding: 14px !important;

    border-radius: 18px !important;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .12) !important;

    font-size: 14px !important;
}


/* ============================================================
   DROPDOWNS GERAIS
============================================================ */

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px;

    color: #333333;

    border-radius: 6px;

    text-decoration: none;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.dropdown-item:hover {
    background: #f2f2f2;
}


/* ============================================================
   CARDS E TABELAS
============================================================ */

.card {
    overflow: hidden;

    background: #ffffff;

    border: none !important;
    border-radius: 22px !important;

    box-shadow:
        0 10px 35px rgba(15, 23, 42, .06),
        0 2px 10px rgba(15, 23, 42, .04) !important;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    margin: 0 !important;

    vertical-align: middle;
}

.table thead th {
    padding-top: 18px !important;
    padding-bottom: 18px !important;

    background: #f8fafc !important;
    color: #64748b;

    border-bottom: 1px solid #e2e8f0 !important;

    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.table tbody td {
    padding-top: 18px !important;
    padding-bottom: 18px !important;

    color: #334155;

    border-color: #f1f5f9 !important;
}

.table tbody tr {
    transition: background-color .2s ease;
}

.table tbody tr:hover {
    background: #f8fafc;
}

.table tbody td:first-child {
    font-weight: 600;
}

.text-muted {
    color: #64748b !important;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;
}

.status-pill i {
    font-size: 14px;
}

.status-pill.active {
    background: #dcfce7;
    color: #15803d;
}

.status-pill.inactive {
    background: #fee2e2;
    color: #b91c1c;
}

.icon-circle {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 1.2rem;

    transition:
        transform .3s ease,
        background-color .3s ease;
}

.card:hover .icon-circle {
    background: #333333 !important;

    transform: scale(1.1);
}


/* ============================================================
   BADGES
============================================================ */

.badge {
    padding: .55rem .95rem;

    border-radius: 999px !important;

    font-weight: 600;
}

.badge.bg-success {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.badge.bg-danger {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

.badge.bg-warning {
    background: #fef3c7 !important;
    color: #b45309 !important;
}

.badge.bg-secondary {
    background: #e2e8f0 !important;
    color: #475569 !important;
}

.badge.bg-dark {
    background: #0f172a !important;
}


/* ============================================================
   BOTÕES
============================================================ */

.table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-actions .btn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border-radius: 12px !important;

    transition: transform .2s ease;
}

.table-actions .btn:hover {
    transform: translateY(-2px);
}

.btn-outline-secondary {
    color: #475569 !important;

    border-color: #e2e8f0 !important;
}

.btn-outline-secondary:hover {
    background: #0f172a !important;
    color: #ffffff !important;

    border-color: #0f172a !important;
}

.btn-outline-success:hover {
    background: #16a34a !important;

    border-color: #16a34a !important;
}

.btn-outline-danger:hover {
    background: #dc2626 !important;

    border-color: #dc2626 !important;
}

.btn-dark {
    padding: .75rem 1.2rem !important;

    background: #0f172a !important;

    border: none !important;
    border-radius: 14px !important;

    font-weight: 600;

    transition:
        background-color .2s ease,
        transform .2s ease;
}

.btn-dark:hover {
    background: #020617 !important;

    transform: translateY(-2px);
}


/* ============================================================
   MODAIS
============================================================ */

.modal-content {
    border-radius: 22px !important;
}

.modal-header {
    border-bottom: 1px solid #f1f5f9;
}

.modal-footer {
    border-top: 1px solid #f1f5f9;
}

.modal-title {
    color: #0f172a;
}


/* ============================================================
   FORMULÁRIOS
============================================================ */

.form-control,
.form-select {
    min-height: 46px;

    border: 1px solid #dbe3ee;
    border-radius: 12px;
}

.form-control:focus,
.form-select:focus {
    border-color: #0f172a;

    box-shadow: 0 0 0 3px rgba(15, 23, 42, .08);
}


/* ============================================================
   ESTADO VAZIO GERAL
============================================================ */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 70px 20px;

    text-align: center;
}

.empty-icon {
    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    background: #f8fafc;

    border: 2px dashed #dbe3ee;
    border-radius: 50%;
}

.empty-icon i {
    color: #94a3b8;

    font-size: 40px;
}

.empty-state h5 {
    margin-bottom: 8px;

    color: #0f172a;

    font-weight: 700;
}

.empty-state p {
    max-width: 420px;

    margin-bottom: 25px;

    color: #64748b;
}

.empty-state .btn {
    padding: 10px 22px;

    border-radius: 12px;
}


/* ============================================================
   FOOTER
============================================================ */

.admin-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: auto;
    padding: 18px 32px;

    background: #ffffff;
    color: #64748b;

    border-top: 1px solid #e5e7eb;

    font-size: 14px;
}

.admin-footer strong {
    color: #0f172a;
}


/* ============================================================
   RESPONSIVO
============================================================ */

@media (max-width: 767px) {
    .admin-navbar {
        padding: 0 14px;
    }

    .admin-navbar-brand-text,
    .admin-user-trigger-info,
    .admin-user-chevron {
        display: none;
    }

    .admin-user-trigger {
        width: 44px;
        height: 44px;

        justify-content: center;

        padding: 5px;

        border-radius: 14px;
    }

    .admin-user-avatar {
        width: 32px;
        height: 32px;
    }

    .page-title-area {
        margin-top: 16px;
        margin-bottom: 20px;
    }

    .offer-table-info {
        min-width: 230px;
    }

    .offer-table-image {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .table thead th {
        white-space: nowrap;
    }

    .table-actions .btn {
        width: 36px;
        height: 36px;
    }

    main {
        padding-bottom: 40px;
    }

    .admin-footer {
        padding: 18px 16px;
    }
}

@media (max-width: 575px) {
    .admin-navbar-left,
    .admin-navbar-right {
        gap: 8px;
    }

    .admin-notif-menu.dropdown-menu {
        position: fixed !important;
        top: 76px !important;
        right: 12px !important;
        left: 12px !important;

        width: auto !important;

        margin: 0 !important;

        transform: none !important;
    }

    .admin-notif-list {
        max-height: min(52vh, 360px);
    }
}
