/**
 * AACS Portal - Tailwind CSS (Extracted Classes)
 * Compiled from Tailwind for production use
 */

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Raleway, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif !important;
    line-height: 1.5;
    color: #1f2937;
}

button {
    transition: all 0.25s ease-in-out !important;
}

:root {
    --red: #e53935;
    --pink: #d81b60;
    --purple: #8e24aa;
    --deep-purple: #5e35b1;

    --indigo: #3949ab;
    --blue: #1e88e5;
    --light-blue: #039be5;
    --cyan: #00acc1;
    --teal: #00897b;

    --green: #43a047;
    --light-green: #7cb342;
    --lime: #c0ca33;

    --yellow: #fbc02d;
    --amber: #ffb300;
    --orange: #fb8c00;
    --deep-orange: #f4511e;

    --brown: #6d4c41;

    --gray: #616161;
    --light-gray: #bdbdbd;
    --dark-gray: #212121;

    --black: #000000;
    --white: #ffffff;


    /* novas variáveis - 27/04/2026 - COMEÇA AQUI */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);

    --bg: #f0f7f3;
    --bg-card: #ffffff;
    --border: #e5e7eb;
    --border-strong: #d1d5db;
    --text: #111827;
    --text-muted: #6b7280;
    --text-soft: #9ca3af;
    --primary: #2546f0;
    --primary-hover: #1d3ad4;
    --primary-soft: #eef1ff;
    --success: #16a34a;
    --success-bg: #dcfce7;
    --success-soft: #ecfdf5;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --warning-soft: #fefce8;
    --danger: #dc2626;
    --danger-bg: #fee2e2;
    --danger-soft: #fef2f2;
    --info: #0ea5e9;
    --info-bg: #e0f2fe;
    --info-soft: #eff6ff;
    --navbar-border: #1e3a8a;
    /* novas variáveis - 27/04/2026 - TERMINA AQUI */

    --aacs-1: 0.25rem;
    --aacs-2: 0.5rem;
    --aacs-3: 0.75rem;
    --aacs-4: 1rem;
    --aacs-5: 1.25rem;
    --aacs-6: 1.5rem;
    --aacs-8: 2rem;
    --aacs-10: 2.5rem;
    --aacs-12: 3rem;
}

.aacs-m-0 {
    margin: 0;
}

.aacs-m-1 {
    margin: var(--aacs-1);
}

.aacs-m-2 {
    margin: var(--aacs-2);
}

.aacs-m-3 {
    margin: var(--aacs-3);
}

.aacs-m-4 {
    margin: var(--aacs-4);
}

.aacs-m-6 {
    margin: var(--aacs-6);
}

.aacs-m-8 {
    margin: var(--aacs-8);
}

.aacs-mt-3 {
    margin-top: var(--aacs-3);
}

.aacs-mb-3 {
    margin-bottom: var(--aacs-3);
}

.aacs-ml-3 {
    margin-left: var(--aacs-3);
}

.aacs-mr-3 {
    margin-right: var(--aacs-3);
}

.aacs-mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.aacs-p-0 {
    padding: 0;
}

.aacs-p-2 {
    padding: var(--aacs-2);
}

.aacs-p-3 {
    padding: var(--aacs-3);
}

.aacs-p-4 {
    padding: var(--aacs-4);
}

.aacs-p-6 {
    padding: var(--aacs-6);
}

.aacs-px-3 {
    padding-left: var(--aacs-3);
    padding-right: var(--aacs-3);
}

.aacs-py-3 {
    padding-top: var(--aacs-3);
    padding-bottom: var(--aacs-3);
}

/* ========= TEXT COLORS ========= */
.red {
    color: var(--red);
}

.pink {
    color: var(--pink);
}

.purple {
    color: var(--purple);
}

.deep-purple {
    color: var(--deep-purple);
}

.indigo {
    color: var(--indigo);
}

.blue {
    color: var(--blue);
}

.light-blue {
    color: var(--light-blue);
}

.cyan {
    color: var(--cyan);
}

.teal {
    color: var(--teal);
}

.green {
    color: var(--green);
}

.light-green {
    color: var(--light-green);
}

.lime {
    color: var(--lime);
}

.yellow {
    color: var(--yellow);
}

.amber {
    color: var(--amber);
}

.orange {
    color: var(--orange);
}

.deep-orange {
    color: var(--deep-orange);
}

.brown {
    color: var(--brown);
}

.gray {
    color: var(--gray);
}

.light-gray {
    color: var(--light-gray);
}

.dark-gray {
    color: var(--dark-gray);
}

.black {
    color: var(--black);
}

.white {
    color: var(--white);
}

/* ========= BACKGROUND COLORS ========= */
.red-bg {
    background-color: var(--red);
}

.pink-bg {
    background-color: var(--pink);
}

.purple-bg {
    background-color: var(--purple);
}

.deep-purple-bg {
    background-color: var(--deep-purple);
}

.indigo-bg {
    background-color: var(--indigo);
}

.blue-bg {
    background-color: var(--blue);
}

.light-blue-bg {
    background-color: var(--light-blue);
}

.cyan-bg {
    background-color: var(--cyan);
}

.teal-bg {
    background-color: var(--teal);
}

.green-bg {
    background-color: var(--green);
}

.light-green-bg {
    background-color: var(--light-green);
}

.lime-bg {
    background-color: var(--lime);
}

.yellow-bg {
    background-color: var(--yellow);
}

.amber-bg {
    background-color: var(--amber);
}

.orange-bg {
    background-color: var(--orange);
}

.deep-orange-bg {
    background-color: var(--deep-orange);
}

.brown-bg {
    background-color: var(--brown);
}

.gray-bg {
    background-color: var(--gray);
}

.light-gray-bg {
    background-color: var(--light-gray);
}

.dark-gray-bg {
    background-color: var(--dark-gray);
}

.black-bg {
    background-color: var(--black);
}

.white-bg {
    background-color: var(--white);
}

body h2 {
    margin: 0;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 2.25rem;
    color: #010d0d;
}

body h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2rem;
    color: #010d0d;
}

body h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.75rem;
    color: #010d0d;
}

/* =========================
   BODY
========================= */
.aacs-body {
    background: #f9fafb;
}

/* =========================
   HEADER
========================= */
.aacs-header {
    background: #ffffff;
    border-bottom: 2px solid #2c3079;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.aacs-header-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}



.aacs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.aacs-header .aacs-logo {
    height: 3rem;
}

/* =========================
   BRAND
========================= */
.aacs-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.aacs-brand-text {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #7a7a7a;
}

/* =========================
   NAV
========================= */
.aacs-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aacs-nav svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
}

.aacs-nav-link-site {
    display: none;
}

.aacs-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #eff6ff;
    color: #2c3079;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
}

.aacs-nav-link:hover {
    background: #dbeafe;
}

/* Icons */
.aacs-nav-icon {
    padding: 8px;
    border-radius: 8px;
    color: #010d0d;
    transition: background 0.2s ease, color 0.2s ease;
}

.aacs-nav-icon:hover {
    background: #f3f4f6;
}

/* Active */
.aacs-active {
    background: #eff6ff;
    color: #2c3079;
}

/* Divider */
.aacs-divider {
    width: 1px;
    height: 32px;
    background: #e5e7eb;
    margin: 0 8px;
}

.navbar-divider {
    display: none;
}

/* User Info */
.aacs-user-info {
    display: none;
}

.aacs-user-name {
    font-size: 0.875rem;
    color: #010d0d;
}

.aacs-user-email {
    font-size: 0.75rem;
    color: #6b7280;
}

@media (min-width: 768px) {
    .aacs-user-info {
        display: block;
    }

    .aacs-header-inner {
        height: 5rem;
    }

    .aacs-nav {
        gap: 1rem;
    }

    .navbar-divider {
        display: block;
        width: 1px;
        height: 2rem;
        background-color: #e5e7eb;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .aacs-user-info {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        margin-right: 0.5rem;
    }
}

/* Logout */
.aacs-logout:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* =========================
   MAIN
========================= */
.aacs-main {
    min-height: 100vh;
    background: #f9fafb;
}

.aacs-container {
    /* max-width: 80rem; */
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1rem;
}

.aacs-main.aacs-admin-main {
    padding-top: 20px;
}

.aacs-admin-main .aacs-container {
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem 2rem 1rem;
}

.aacs-dashboard {
    font-family: Raleway, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
    color: #1f2937;
}

/* Layout */
.aacs-grid {
    display: grid;
}

.aacs-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.aacs-grid-span-2 {
    grid-column: span 2;
}

.aacs-gap-lg {
    gap: 24px;
}

.aacs-gap-md {
    gap: 16px;
}

.aacs-mb-lg {
    margin-bottom: 32px;
}

.aacs-mb-md {
    margin-bottom: 16px;
}

@media (max-width: 1024px) {
    .aacs-grid-3 {
        grid-template-columns: 1fr;
    }

    .aacs-grid-span-2 {
        grid-column: span 1;
    }
}

/* Typography */
.aacs-title {
    font-weight: 600;
    color: #111827;
}

.aacs-title-lg {
    font-size: 1.8rem;
}

.aacs-title-md {
    font-size: 1.2rem;
}

.aacs-title-sm {
    font-size: 1rem;
}

.aacs-text-muted {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #8e8e8e;
}

/* Cards */
.aacs-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 2px solid transparent;
}

.aacs-card-link {
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.2s;
    text-align: left;
}

.aacs-card-link:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.aacs-card-link svg {
    width: 20px !important;
    height: 20px !important;
    color: #3d4f9a;
}

.aacs-card-blue {
    background: #eff6ff;
    border-color: #b9c1e1;
    color: #2c3079;
}

.aacs-card-green {
    background: #f2f7f1;
    border-color: #cbdfc7;
    color: #2e5125;
}

.aacs-card-yellow {
    background: #fefce8;
    border-color: #f6f3a3;
    color: #7f7d15;
}

a.aacs-card.aacs-card-link.aacs-card-purple {
    background: #f5f3ff;
    border-color: #ddd6fe;
}
a.aacs-card.aacs-card-link.aacs-card-purple svg {
    width:  24px !important;
    height:  24px !important;
}

.aacs-card-blue:hover {
    background: #dce0f0;
    border-color: #b9c1e1;
}

.aacs-card-green:hover {
    background: #e5efe3;
    border-color: #cbdfc7;
}

.aacs-card-yellow:hover {
    background: #faf9d1;
    border-color: #f6f3a3;
}

.aacs-card-title {
    font-weight: 600;
    margin-bottom: 4px;
}

/* Status */
.aacs-status-ativo,
.aacs-status-em_dia {
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.aacs-status-vencido {
    background: #fef2f2;
    border-color: #fecaca;
}

.aacs-status-pendente {
    background: #fffbeb;
    border-color: #fde68a;
}

.aacs-status-inativo {
    background: #f9fafb;
    border-color: #e5e7eb;
}


/* Buttons */
.aacs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: .9rem;
}

.aacs-btn-primary {
    background: #2c3079;
    color: #fff;
}

.aacs-btn-primary:hover {
    background: #1f2460;
}

.aacs-btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.aacs-btn-outline {
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}

/* Lists */
.aacs-list {
    margin-top: 12px;
    padding-left: 16px;
}

.aacs-list li {
    margin-bottom: 8px;
}

.aacs-svg {
    width: 15px;
}

/* =========================
   BACK LINK
========================= */
.aacs-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    margin-bottom: 24px;
    text-decoration: none;
}

.aacs-back-link svg {
    width: 20px;
    height: 20px;
}

/* =========================
   PAGE HEADER
========================= */
.aacs-page-header {
    margin-bottom: 32px;
}

/* =========================
   STATUS CARD
========================= */
.aacs-status-card {
    border-left: 6px solid;
}

.aacs-status-success {
    background: #ecfdf5;
    border-color: #22c55e;
}

.aacs-status-warning {
    background: #fffbeb;
    border-color: #f59e0b;
}

.aacs-status-danger {
    background: #fef2f2;
    border-color: #ef4444;
}

.aacs-status-neutral {
    background: #f9fafb;
    border-color: #9ca3af;
}

.aacs-status-grid {
    display: flex;
    gap: 20px;
}

.aacs-status-icon {
    font-size: 32px;
    font-weight: bold;
}

.aacs-status-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

/* =========================
   DETAILS
========================= */
.aacs-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.aacs-meta {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #8e8e8e;
}

.aacs-meta.meta-2 {
    margin-top: 0;
    padding-top: 0;
}

.aacs-meta.meta-1 {
    border-top: 1px solid #e5e7eb;
}

/* =========================
   WARNING
========================= */
.aacs-warning-box {
    margin-top: 16px;
    padding: 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    font-size: 0.875rem;
}

/* =========================
   ACTIONS
========================= */
.aacs-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* =========================
   CARTEIRINHA
========================= */

/* Page header: title left, Baixar PDF right */
.aacs-carteirinha-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.aacs-carteirinha-page-header-text {
    flex: 1;
    min-width: 0;
}

.aacs-btn-baixar-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.aacs-btn-baixar-pdf svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}





/* =========================
   CREDENCIAIS (portal)
========================= */

.aacs-credenciais-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    gap: 20px;
    flex-wrap: wrap;
}

.aacs-credenciais-page-header-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aacs-credenciais-page-header .aacs-title-lg {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
}

.aacs-credenciais-page-header .aacs-text-muted {
    color: var(--text-muted);
    font-size: 15px;
}

.aacs-btn-nova-credencial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
    background-color: #2546f0 !important;
}

.aacs-btn-nova-credencial:hover {
    background-color: #1d3ad4 !important;
    color: #fff;
}

.aacs-btn-nova-credencial svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
}

.aacs-btn-nova-credencial svg path {
    fill: #fff;
    stroke: #fff;
}

/* Override .aacs-dashboard svg defaults for this page */
.aacs-credenciais-page .aacs-credenciais-step-icon svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
}

.aacs-credenciais-page .aacs-credenciais-how-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    color: #2546f0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(37, 70, 240, 0.15);
    flex-shrink: 0;
}

.aacs-credenciais-how {
    background: linear-gradient(135deg, #eef1ff 0%, #ecfdf5 100%);
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    padding: 26px 28px;
    margin-bottom: 26px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.aacs-credenciais-how-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.aacs-credenciais-how-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2546f0;
    box-shadow: 0 2px 8px rgba(37, 70, 240, 0.15);
}

.aacs-credenciais-how-icon svg {
    width: 22px;
    height: 22px;
    stroke: #2c3079;
}

.aacs-credenciais-how-head-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.aacs-credenciais-how-head-text .aacs-title-md {
    font-size: 19px;
    font-weight: 800;
    color: var(--text);
    line-height: 22px;
}

.aacs-credenciais-how-head-text .aacs-text-muted {
    color: var(--text-muted);
    font-size: 13px;
}

.aacs-credenciais-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.aacs-credenciais-step {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 16px 14px;
    position: relative;
    backdrop-filter: blur(4px);
    transition: transform 0.15s, box-shadow 0.15s;
    position: relative;
}

.aacs-credenciais-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.aacs-credenciais-step--highlight {
    background: #fff;
    border-color: var(--success);
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.12);
}

.aacs-credenciais-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.aacs-credenciais-step-num {
    position: absolute;
    top: -10px;
    left: 14px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2546f0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(37, 70, 240, 0.3);
}

.aacs-credenciais-step-num--green {
    background: var(--success);
    color: #fff;
}

.aacs-credenciais-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    width: 20px;
    height: 20px;
    margin: 6px 0 10px;
}

.aacs-credenciais-step-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #2546f0;
}

.aacs-credenciais-step-icon--green svg {
    stroke: var(--success);
}

.aacs-credenciais-step-title {
    font-weight: 800;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.25;
}

.aacs-credenciais-step-desc {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    .aacs-credenciais-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .aacs-credenciais-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aacs-credenciais-page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .aacs-btn-nova-credencial {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .aacs-credenciais-steps {
        grid-template-columns: 1fr;
    }
}

a.aacs-btn-nova-credencial {
    text-decoration: none;
    box-sizing: border-box;
}

/* Meus pedidos — lista WooCommerce só credenciais (portal/credenciais) */
.aacs-cred-pedidos {
    margin-top: 28px;
}

.aacs-cred-pedidos-title {
    color: #1f2456;
    margin: 0 0 14px;
    padding: 0;
    border: none;
    font-size: 1.25rem;
}

.aacs-cred-pedidos-table-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.aacs-cred-pedidos-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 14px;
}

.aacs-cred-pedidos-table thead th {
    text-align: left;
    padding: 14px 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    font-weight: 700;
    border-bottom: 1px solid #e5e7eb;
    background: #fafafa;
}

.aacs-cred-pedidos-table tbody td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    color: #111827;
}

.aacs-cred-pedidos-table tbody tr:last-child td {
    border-bottom: none;
}

.aacs-cred-pedidos-table tbody tr:hover {
    background: #fafbfc;
}

.aacs-cred-pedidos-order-num {
    color: #1f2456;
}

.aacs-cred-pedidos-delivery {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.aacs-cred-pedidos-delivery-icon {
    display: inline-flex;
    color: #4b5563;
    flex-shrink: 0;
}

.aacs-cred-pedidos-delivery-icon svg {
    display: block;
}

.aacs-cred-pedidos-details {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
    text-decoration: none;
    box-sizing: border-box;
}

.aacs-cred-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.aacs-cred-badge--green {
    background: #dcfce7;
    color: #166534;
}

.aacs-cred-badge--blue {
    background: #e0f2fe;
    color: #075985;
}

.aacs-cred-badge--yellow {
    background: #fef3c7;
    color: #92400e;
}

.aacs-cred-badge--red {
    background: #fee2e2;
    color: #991b1b;
}

.aacs-cred-badge--gray {
    background: #f3f4f6;
    color: #374151;
}

/* Detalhe do pedido de credenciais — /portal/credenciais/view/{id}/ */
.aacs-admin-credenciais .aacs-cred-view {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.aacs-cred-view-breadcrumb {
    margin-bottom: 14px;
    font-size: 13px !important;
}

.aacs-cred-view-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    margin-left: -10px;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.aacs-cred-view-breadcrumb a:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.aacs-cred-view-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2c3079;
    text-decoration: none;
}

.aacs-cred-view-back:hover {
    text-decoration: underline;
}

.aacs-cred-view-header {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.aacs-cred-view-header-status {
    margin-left: auto;
    min-width: 320px;
}

.aacs-cred-view-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
    margin-bottom: 8px;
}

.aacs-cred-view-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.aacs-cred-view-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.aacs-cred-view-meta-item svg {
    flex-shrink: 0;
    opacity: 0.85;
}

.aacs-cred-view-meta-sep {
    color: #d1d5db;
    user-select: none;
}

.aacs-cred-view-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: start;
}

.aacs-cred-view-card {
    margin-bottom: 16px;
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.aacs-cred-view-card:last-child {
    margin-bottom: 0;
}

.aacs-cred-view-card-title {
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 6px;
}

.aacs-cred-view-card-sub {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.aacs-cred-view-info-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
}

.aacs-cred-view-info-list--stack {
    grid-template-columns: 1fr 1fr;
}

.aacs-cred-view-info-list--cred {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 16px;
}

.aacs-cred-view-k {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.aacs-cred-view-v {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.aacs-admin-credenciais .aacs-cred-view-multiline {
    white-space: pre-wrap;
    word-break: break-word;
    font-weight: 500;
}

.aacs-cred-view-v--delivery,
.aacs-cred-view-v--pay {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.aacs-cred-view-v--delivery svg {
    flex-shrink: 0;
    color: #4b5563;
}

.aacs-cred-view-pay-ok {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #166534;
    font-weight: 700;
    font-size: 13px;
}

.aacs-cred-view-pay-ok svg {
    flex-shrink: 0;
}

.aacs-cred-view-muted {
    color: #9ca3af !important;
    font-weight: 500 !important;
}

.aacs-cred-view-cred-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
}

.aacs-cred-view-cred-item:last-child {
    margin-bottom: 0;
}

.aacs-cred-view-cred-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e5e7eb;
}

.aacs-cred-view-line-sections {
    margin-top: 4px;
}

.aacs-cred-view-line-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
    margin: 16px 0 10px;
    padding-top: 4px;
}

.aacs-cred-view-line-sections > .aacs-cred-view-line-section-title:first-child {
    margin-top: 0;
}

.aacs-cred-view-line-hint {
    margin: 0 0 4px;
    font-size: 0.875rem;
}

.aacs-cred-view-cred-title {
    font-weight: 800;
    font-size: 16px;
    color: #1f2456;
}

.aacs-cred-view-pilgrim-name {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    margin-left: 8px;
}

.aacs-cred-admin-line-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.aacs-cred-admin-line-cancel-trigger {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fff;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
}

button#aacs-order-wc-status-save {
    padding: 10px 14px;
    background-color: #2546f0;
}

.aacs-cred-admin-line-cancel-trigger:hover {
    background: #fef2f2;
}

.aacs-cred-admin-action-btn {
    width: 100%;
    margin-bottom: 8px;
    justify-content: center;
}

#aacs-admin-resend-cred-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.25s ease-in-out;
}

#aacs-admin-resend-cred-email:hover {
    background-color: #EBEBEB;
}

#aacs-admin-cancel-cred-order.aacs-cred-admin-action-btn {
    margin-bottom: 0;
}

#aacs-admin-cancel-cred-order {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fff;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
}

#aacs-admin-cancel-cred-order:hover {
    background-color: #fef2f2
}

.aacs-cred-admin-cancel-trigger {
    width: 100%;
    justify-content: center;
    background: transparent;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.aacs-cred-admin-cancel-trigger:hover {
    background: #fef2f2;
}

.aacs-cred-view-info-list--status {
    margin-top: 12px;
}

.aacs-cred-order-status-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.aacs-cred-order-status-control select {
    min-width: 230px;
    font-size: 14px;
    font-family: 'Raleway';
}

.aacs-cred-order-status-control--header {
    margin-top: 8px;
}

.aacs-cred-status-modal .aacs-modal-box {
    width: 560px;
    border-radius: 18px;
}

.aacs-cred-status-modal-header {
    justify-content: flex-start;
    padding: 24px 24px 18px;
}

.aacs-cred-status-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #111827;
}

.aacs-cred-status-modal-header p {
    margin: 8px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aacs-cred-status-modal-body {
    padding: 22px 24px;
}

.aacs-status-conditional {
    display: none;
    margin-top: 12px;
}

.aacs-status-conditional.is-visible {
    display: block;
}

.aacs-cred-status-modal-note {
    margin-top: 16px;
    margin-bottom: 0;
}

.aacs-cred-view-modal-footer.aacs-modal-footer,
.aacs-cred-status-modal-footer,
.aacs-cred-cancel-modal-footer {
    justify-content: flex-end;
    gap: 12px;
}

.aacs-cred-view-modal-footer .aacs-btn {
    min-height: 44px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 600;
}

.aacs-cred-cancel-modal .aacs-modal-box {
    width: 600px;
    border-radius: 20px;
    overflow: hidden;
}

.aacs-cred-cancel-modal-header {
    justify-content: center;
    text-align: center;
    padding: 28px 32px 22px;
}

.aacs-cred-cancel-modal-header-inner {
    width: 100%;
}

.aacs-cred-cancel-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    color: #ef4444;
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.08);
}

.aacs-cred-cancel-modal-header h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    color: #111827;
}

.aacs-cred-cancel-modal-header p {
    margin: 8px 0 0;
    font-size: 14px;
    color: #6b7280;
}

.aacs-cred-cancel-modal-body {
    padding: 22px;
}

.aacs-cred-cancel-summary {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    padding: 8px 14px;
    margin-bottom: 16px;
}

.aacs-cred-cancel-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed #d1d5db;
    font-size: 14px;
}

.aacs-cred-cancel-summary-row:last-child {
    border-bottom: 0;
}

.aacs-cred-cancel-summary-row span {
    color: #6b7280;
}

.aacs-cred-cancel-summary-row strong {
    color: #111827;
    font-weight: 700;
    text-align: right;
}

.aacs-cred-cancel-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
}

.aacs-cred-cancel-warning svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.aacs-cred-cancel-confirm-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding: 12px 14px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.aacs-cred-cancel-confirm-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3344dc;
    cursor: pointer;
    flex-shrink: 0;
}

.aacs-cred-cancel-confirm-checkbox label {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
}

@media (max-width: 640px) {
    .aacs-cred-view-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .aacs-cred-view-header-status {
        min-width: 0;
        margin: 0;
    }

    .aacs-cred-order-status-control--header {
        flex-direction: column;
        align-items: stretch;
    }

    .aacs-cred-order-status-control--header select {
        min-width: 0;
    }

    .aacs-cred-order-status-control--header .aacs-btn {
        width: 100%;
    }

    .aacs-cred-status-modal .aacs-modal-box,
    .aacs-cred-cancel-modal .aacs-modal-box {
        width: calc(100vw - 24px);
    }

    .aacs-cred-cancel-summary-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .aacs-cred-cancel-summary-row strong {
        text-align: left;
    }

    .aacs-cred-status-modal-footer,
    .aacs-cred-cancel-modal-footer {
        flex-direction: column;
    }

    .aacs-cred-status-modal-footer .aacs-btn,
    .aacs-cred-cancel-modal-footer .aacs-btn {
        width: 100%;
    }
}

.aacs-cred-view-timeline {
    position: relative;
    padding-left: 24px;
}

.aacs-cred-view-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #e5e7eb;
}

.aacs-cred-view-timeline-item {
    position: relative;
    padding-bottom: 16px;
}

.aacs-cred-view-timeline-item:last-child {
    padding-bottom: 0;
}

.aacs-cred-view-timeline-dot {
    position: absolute;
    left: -24px;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e5e7eb;
    box-sizing: border-box;
}

.aacs-cred-view-timeline-item--done .aacs-cred-view-timeline-dot {
    background: var(--success);
    border-color: var(--success);
}

.aacs-cred-view-timeline-item--current .aacs-cred-view-timeline-dot {
    background: #2546f0;
    border-color: #2546f0;
    box-shadow: 0 0 0 4px rgba(37, 70, 240, 0.15);
}

.aacs-cred-view-t-title {
    font-weight: 700;
    font-size: 14px;
    color: #111827;
}

.aacs-cred-view-t-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.aacs-cred-view-card--help .aacs-cred-view-help-text {
    margin-bottom: 16px;
    font-size: 14px;
}

.aacs-cred-view-help-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

@media (max-width: 960px) {
    .aacs-cred-view-grid {
        grid-template-columns: 1fr;
    }

    .aacs-cred-view-info-list--cred {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .aacs-cred-view-info-list {
        grid-template-columns: 1fr;
    }
}

/* Nova credencial — formulário + resumo (portal/credenciais/add) */
.aacs-credenciais-add-page .aacs-credenciais-add-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.aacs-credenciais-add-page .aacs-credenciais-add-header-text .aacs-title-lg {
    color: #1f2456;
    margin-bottom: 6px;
}

.aacs-credenciais-add-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

.aacs-credenciais-add-back svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
}

.aacs-credenciais-add-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    max-width: 900px;
}

/* Carrinho: coluna esquerda = itens + formulário + endereço; direita = Resumo (sticky) */
.aacs-cred-cart-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.aacs-cred-cart-section-title {
    margin-bottom: 8px;
}

.aacs-cred-cart-section-sub {
    margin: 0 0 24px 0;
    max-width: 640px;
}

.aacs-cred-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 28px;
    align-items: start;
}

.aacs-cred-cart-main {
    min-width: 0;
}

.aacs-cred-btn-add-another {
    width: 100%;
    margin-top: 12px;
    padding: 14px 16px;
    border-style: dashed;
    font-weight: 600;
    justify-content: center;
}

.aacs-cred-order-address-card {
    margin-top: 24px;
    padding: 20px 20px 22px;
    text-align: left;
}

.aacs-cred-order-address-title {
    margin: 0 0 6px 0;
}

.aacs-cred-order-address-sub {
    margin: 0 0 16px 0;
    font-size: 0.875rem;
}

.aacs-cred-info-list {
    margin: 0;
}

.aacs-cred-info-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
}

.aacs-cred-info-row:last-child {
    border-bottom: none;
}

.aacs-cred-info-k {
    font-weight: 600;
    color: #6b7280;
}

.aacs-cred-info-v {
    color: #111827;
    word-break: break-word;
}

.aacs-cred-cart-summary-aside {
    padding: 20px 18px 22px;
    position: sticky;
    top: 16px;
}

.aacs-cred-resumo-heading {
    margin: 0 0 14px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2456;
    display: flex;
    align-items: center;
}

.aacs-cred-resumo-heading span {
    padding-right: 5px;
}

.aacs-cred-pay-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 16px 0 16px;
    padding: 12px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #1e3a5f;
}

.aacs-cred-pay-note-icon {
    flex-shrink: 0;
    color: #2c3079;
    margin-top: 2px;
}

.aacs-cred-pay-note p {
    margin: 0;
}

.aacs-cred-btn-checkout {
    width: 100%;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-weight: 600;
}

.aacs-cred-btn-add-more {
    width: 100%;
    margin-top: 10px;
    justify-content: center;
    font-weight: 600;
}

.aacs-ca-ro-field input.regular-text[readonly] {
    background: #f9fafb;
    color: #111827;
    cursor: default;
    border-color: #e5e7eb;
}

.aacs-credenciais-delivery-cards--readonly {
    pointer-events: none;
    opacity: 1;
}

.aacs-credenciais-delivery-cards--readonly .aacs-credenciais-delivery-card {
    cursor: default;
}

.aacs-credenciais-delivery-cards--readonly .aacs-credenciais-delivery-card:not(.aacs-credenciais-delivery-card--selected) {
    opacity: 0.65;
}

.aacs-credenciais-add-card {
    padding: 5px 22px 28px;
}

.aacs-credenciais-add-card-title {
    margin: 0 0 6px 0;
    color: #1f2456;
}

.aacs-credenciais-add-card-sub {
    margin: 0 0 20px 0;
    font-size: 0.9375rem;
}

.aacs-credenciais-add-page .aacs-mt-step {
    margin-top: 28px;
}

.aacs-credenciais-add-page .aacs-form-field input.is-readonly,
.aacs-credenciais-add-page .aacs-form-field select.is-readonly {
    background-color: #f3f4f6;
    color: #374151;
    cursor: not-allowed;
}

.aacs-event-c2-layout .aacs-form-field input.is-readonly,
.aacs-event-c2-layout .aacs-form-field select.is-readonly {
    background-color: #f3f4f6;
    color: #374151;
    cursor: not-allowed;
}

.aacs-req {
    color: #dc2626;
}

.aacs-field-hint {
    margin: 4px 0 0 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

.aacs-credenciais-self-check {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.aacs-credenciais-self-check-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.aacs-credenciais-self-check-label input {
    margin-top: 4px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #2c3079;
}

.aacs-credenciais-self-check-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.aacs-credenciais-self-check-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #1f2937;
}

.aacs-credenciais-self-check-title svg {
    width: 18px;
    height: 18px;
    color: #2c3079;
    flex-shrink: 0;
}

.aacs-credenciais-self-check-desc {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
}

.aacs-cred-discount-feedback {
    display: none;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 0.875rem;
    line-height: 1.45;
}

.aacs-cred-discount-feedback:not(:empty) {
    display: flex;
}

.aacs-cred-discount-feedback--ok {
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
}

.aacs-cred-discount-feedback--ok svg {
    flex-shrink: 0;
    color: #16a34a;
}

.aacs-cred-discount-feedback--warn {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.aacs-cred-discount-feedback--warn svg {
    flex-shrink: 0;
    color: #d97706;
}

.aacs-cred-discount-feedback--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.aacs-credenciais-delivery-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 8px;
}

.aacs-credenciais-delivery-card {
    text-align: left;
    padding: 14px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    font: inherit;
    color: inherit;
}

.aacs-credenciais-delivery-card:hover {
    border-color: #c7d2fe;
}

.aacs-credenciais-delivery-card--selected {
    border-color: #2c3079;
    box-shadow: 0 0 0 1px rgba(44, 48, 121, 0.12);
}

.aacs-credenciais-delivery-card-icon {
    display: flex;
    margin-bottom: 8px;
    color: #2c3079;
}

.aacs-credenciais-delivery-card-icon svg {
    width: 20px;
    height: 20px;
    stroke: #2c3079;
}

.aacs-credenciais-delivery-card-title {
    display: block;
    font-weight: 700;
    font-size: 0.875rem;
    color: #111827;
    margin-bottom: 4px;
}

.aacs-credenciais-delivery-card-desc {
    display: block;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #6b7280;
}

.aacs-credenciais-conditional {
    display: none;
    margin-top: 8px;
}

.aacs-credenciais-conditional--show {
    display: block;
}

.aacs-credenciais-note-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #1e3a5f;
}

.aacs-credenciais-note-box-icon {
    flex-shrink: 0;
    color: #2563eb;
}

.aacs-credenciais-note-box p {
    margin: 0;
}

.aacs-credenciais-add-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.aacs-credenciais-add-actions .aacs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

.aacs-credenciais-cart-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2456;
}

.aacs-credenciais-cart-title svg {
    width: 18px;
    height: 18px;
    color: #2c3079;
}

.aacs-credenciais-cart-items {
    min-height: 80px;
    margin-bottom: 16px;
}

.aacs-credenciais-cart-empty {
    text-align: center;
    padding: 24px 8px;
}

.aacs-credenciais-cart-empty-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    color: #9ca3af;
}

.aacs-cred-cart-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.aacs-cred-cart-line-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.aacs-cred-cart-line-main strong {
    font-size: 0.875rem;
    color: #111827;
}

.aacs-cred-cart-line-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.aacs-cred-cart-price {
    font-weight: 700;
    font-size: 0.875rem;
    color: #2c3079;
}

.aacs-cred-cart-price--free {
    color: #16a34a;
}

.aacs-cred-cart-remove {
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.aacs-cred-cart-remove:hover {
    color: #dc2626;
}

/* Credenciais add — carrinho em acordeão (alinhado ao protótipo aacs-credenciais.html, TELA 4) */
.aacs-credenciais-cart-items--accordions {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.aacs-cred-accordion {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.aacs-cred-accordion:last-of-type {
    margin-bottom: 0;
}

.aacs-cred-accordion:hover {
    border-color: #d1d5db;
}

.aacs-cred-accordion--open {
    border-color: #bfdbfe;
    box-shadow: 0 4px 16px rgba(44, 48, 121, 0.08);
}

.aacs-ca-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 14px;
    cursor: pointer;
    user-select: none;
    outline: none;
}

.aacs-ca-header:hover {
    background: #fafbfc;
}

.aacs-cred-accordion--open .aacs-ca-header {
    background: #f8f9ff;
    border-bottom: 1px solid #e5e7eb;
}

.aacs-ca-header:focus-visible {
    box-shadow: inset 0 0 0 2px #2c3079;
}

.aacs-ca-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.aacs-ca-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eef0fb;
    color: #2c3079;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}

.aacs-cred-accordion--open .aacs-ca-number {
    background: #2c3079;
    color: #fff;
}

.aacs-ca-title-block {
    min-width: 0;
}

.aacs-ca-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: #111827;
    line-height: 1.25;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.aacs-ca-meta {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.aacs-ca-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.aacs-ca-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
}

.aacs-ca-price-old {
    font-size: 11px;
    color: #9ca3af;
    text-decoration: line-through;
}

.aacs-ca-price {
    font-weight: 700;
    font-size: 0.8125rem;
    color: #2c3079;
}

.aacs-ca-price--free {
    color: #16a34a;
}

.aacs-ca-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.aacs-ca-badge--green {
    background: #16a34a;
    color: #fff;
}

.aacs-ca-badge--yellow {
    background: #fef3c7;
    color: #92400e;
}

.aacs-ca-badge--gray {
    background: #f3f4f6;
    color: #4b5563;
}

.aacs-ca-chevron {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    pointer-events: none;
}

.aacs-ca-header:hover .aacs-ca-chevron {
    border-color: #d1d5db;
    color: #374151;
}

.aacs-cred-accordion--open .aacs-ca-chevron {
    transform: rotate(180deg);
    background: #2c3079;
    color: #fff;
    border-color: #2c3079;
}

.aacs-cred-accordion--open .aacs-ca-header:hover .aacs-ca-chevron {
    background: #2c3079;
    color: #fff;
    border-color: #2c3079;
}

.aacs-cred-accordion--open .aacs-ca-chevron svg {
    stroke: #fff;
}

.aacs-ca-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 14px;
    box-sizing: border-box;
}

.aacs-cred-accordion--open .aacs-ca-body {
    max-height: 4200px;
    padding: 14px 14px 16px;
}

.aacs-ca-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 10px;
    font-size: 0.8125rem;
    line-height: 1.45;
    margin-bottom: 14px;
}

.aacs-ca-banner svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.aacs-ca-banner--ok {
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
}

.aacs-ca-banner--warn {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.aacs-ca-banner--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.aacs-ca-banner--none {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #4b5563;
}

.aacs-ca-section-title {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin: 16px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.aacs-ca-banner+.aacs-ca-section-title {
    margin-top: 0;
}

.aacs-ca-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aacs-ca-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aacs-ca-label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
}

.aacs-ca-value {
    font-size: 0.8125rem;
    color: #111827;
    word-break: break-word;
}

.aacs-ca-value-block {
    font-size: 0.8125rem;
    color: #374151;
    line-height: 1.45;
    word-break: break-word;
}

.aacs-ca-delivery-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9ff;
    border: 1px solid #e0e4f5;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1f2456;
}

.aacs-ca-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}

.aacs-ca-actions .aacs-btn {
    padding: 8px 12px;
    font-size: 0.8125rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.aacs-ca-actions .aacs-ca-btn-remove {
    color: #dc2626;
    border-color: #fecaca;
}

.aacs-ca-actions .aacs-ca-btn-remove:hover {
    background: #fef2f2;
    border-color: #f87171;
    color: #b91c1c;
}

.aacs-cred-accordion--removing {
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, margin 0.25s ease, max-height 0.25s ease;
    max-height: 0;
    margin-bottom: 0 !important;
    padding: 0;
    border-width: 0;
    pointer-events: none;
}

.aacs-credenciais-cart-summary {
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
}

.aacs-credenciais-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    margin-bottom: 8px;
    color: #4b5563;
}

.aacs-credenciais-summary-discount {
    color: #16a34a;
    font-weight: 600;
}

.aacs-credenciais-summary-total {
    font-weight: 700;
    font-size: 1rem;
    color: #111827;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

.aacs-credenciais-cart-full-btn {
    width: 100%;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
}

.aacs-credenciais-cart-full-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.aacs-credenciais-add-page .aacs-credenciais-delivery-card-icon svg,
.aacs-credenciais-add-page .aacs-credenciais-cart-title svg,
.aacs-credenciais-add-page .aacs-credenciais-add-actions svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
}

.aacs-credenciais-add-page .aacs-credenciais-delivery-card-icon svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
}

@media (max-width: 1100px) {
    .aacs-cred-cart-layout {
        grid-template-columns: 1fr;
    }

    .aacs-cred-cart-summary-aside {
        position: static;
        order: -1;
    }
}

@media (max-width: 640px) {
    .aacs-credenciais-delivery-cards {
        grid-template-columns: 1fr;
    }

    .aacs-credenciais-add-page .aacs-credenciais-add-header {
        flex-direction: column;
        align-items: stretch;
    }

    .aacs-credenciais-add-back {
        justify-content: center;
    }
}

.aacs-card-wrapper {
    max-width: 512px;
    margin: 0 auto;
}

/* New carteirinha layout (PNG background + Montserrat overlay) */
.aacs-carteirinha-v2 {
    position: relative;
    width: 100%;
    aspect-ratio: var(--aacs-card-aspect, 1024 / 584);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.aacs-carteirinha-v2-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aacs-carteirinha-v2-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.aacs-carteirinha-v2-value {
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #2a3f7a;
    line-height: 1.1;
    max-width: 52%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translateY(-50%);
}

.aacs-carteirinha-v2-name {
    font-size: clamp(14px, 3.1vw, 16px);
}

.aacs-carteirinha-v2-matricula,
.aacs-carteirinha-v2-validade {
    font-size: clamp(12px, 2.7vw, 13px);
}

.aacs-carteirinha {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    background: #fff;
}

/* Top (white section) */
.aacs-carteirinha-top {
    border-bottom: 2px solid #1f2456;
    padding: 24px;
    background: #fff;
}

.aacs-carteirinha-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aacs-carteirinha-brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Logo: light blue concentric circles on white, thin blue border (per design) */
.aacs-carteirinha-logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #2c3079;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aacs-carteirinha-logo svg {
    width: 28px;
    height: 28px;
    stroke: #93c5fd;
}

.aacs-carteirinha-icon svg {
    width: 28px;
    height: 28px;
    stroke: #2c3079;
}

.aacs-carteirinha-brand h3 {
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
}

.aacs-carteirinha-brand span {
    font-size: .75rem;
    color: #6b7280;
}

.aacs-carteirinha-matricula {
    text-align: right;
}

.aacs-carteirinha-matricula span {
    display: block;
    font-size: .75rem;
    color: #9ca3af;
}

.aacs-carteirinha-matricula strong {
    font-size: 1rem;
    color: #111827;
    font-weight: 700;
}

/* Bottom (blue section) – rounded bottom corners, subtle texture overlay */
.aacs-carteirinha-bottom {
    position: relative;
    background: linear-gradient(135deg, #4c5db5, #2c3079, #1f2456);
    border-radius: 0 0 20px 20px;
}

.aacs-carteirinha-bg {
    position: absolute;
    inset: 0;
    border-radius: 0 0 20px 20px;
    background: url('https://images.unsplash.com/photo-1536508325-03ecadee9841?auto=format&fit=crop&w=1080&q=80') center/cover;
    opacity: .12;
    pointer-events: none;
}

.aacs-carteirinha-content {
    position: relative;
    padding: 24px;
    color: #fff;
}

.aacs-carteirinha-info span {
    font-size: .75rem;
    opacity: .85;
}

.aacs-carteirinha-info strong {
    display: block;
    font-size: 1.1rem;
}

/* Card footer (address on card) */
.aacs-carteirinha-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    font-size: .75rem;
    opacity: .85;
}

/* Inadimplente warning: light grey background, thin darker grey border, icon left */
.aacs-carteirinha-inadimplente-box {
    margin-top: 20px;
    padding: 16px 20px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.aacs-carteirinha-warning-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.aacs-carteirinha-warning-icon svg,
.aacs-carteirinha-warning-icon .aacs-warning-triangle {
    width: 28px;
    height: 28px;
    display: block;
}

.aacs-carteirinha-inadimplente-content {
    flex: 1;
    min-width: 0;
}

.aacs-carteirinha-inadimplente-title {
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
    font-size: 1rem;
}

.aacs-carteirinha-inadimplente-msg {
    margin: 0;
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 400;
    line-height: 1.4;
}

/* Usage section */
.aacs-usage {
    margin-top: 32px;
}

.aacs-usage-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.aacs-usage-item {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.aacs-usage-item strong {
    display: block;
    color: #111827;
    font-size: 1rem;
}

.aacs-usage-item p {
    margin: 4px 0 0 0;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 400;
}

/* Light grey circle with thin grey border (per design) */
.aacs-usage-step {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #374151;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9375rem;
}

/* Legacy status (kept for other pages) */
.aacs-status-badge {
    margin-top: 16px;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.aacs-status-card {
    background-color: #f9fafb;
    border-left: 4px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}


.aacs-status-inadimplente {
    background: #fffbeb;
    color: #92400e;
}

.aacs-status-note {
    margin-top: 8px;
    font-size: .875rem;
    color: #92400e;
}

/* Overdue (inadimplente) notice below matrícula / venceu em — matches dashboard design */
.aacs-overdue-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 14px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    max-width: 100%;
}

.aacs-overdue-warning-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
}

.aacs-overdue-warning-icon svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px;
    color: #4b5563;
}

.aacs-overdue-warning-text {
    margin: 0;
    padding-top: 2px;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: #1f2937;
}

.aacs-overdue-warning-text strong {
    font-weight: 700;
    color: #111827;
}

/* Fix back arrow SVG */
.aacs-back-link svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    display: block;
}

/* Global SVG safety */
.aacs-dashboard svg {
    max-width: 100%;
    height: auto;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    display: block;
    /* color: #3d4f9a; */
}

.aacs-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


@media (max-width: 768px) {
    .aacs-grid-2 {
        grid-template-columns: 1fr;
    }
}

.aacs-action-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aacs-btn-success {
    background: #22c55e;
    color: #fff;
}

.aacs-btn-success:hover {
    background: #16a34a;
}

/* =========================
   CENTER CARD
========================= */
.aacs-card-center {
    text-align: center;
    padding: 40px;
}

/* =========================
   ICON CIRCLE
========================= */
.aacs-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aacs-icon-circle-green {
    background: #dcfce7;
}

.aacs-icon-circle-green svg {
    stroke: #4c873d;
}

/* =========================
   TEXT
========================= */
.aacs-text-center {
    text-align: center;
}

.aacs-max-w-lg {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   HIGHLIGHT BOX
========================= */
.aacs-highlight-box {
    border-radius: 12px;
    padding: 24px;
    margin: 32px auto;
}

.aacs-highlight-green {
    background: #ecfdf5;
    border: 2px solid #bbf7d0;
}

/* =========================
   FEATURE LIST
========================= */
.aacs-feature-list {
    margin-top: 16px;
    display: grid;
    gap: 12px;
    text-align: left;
}

.aacs-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #374151;
}

/* =========================
   DOT
========================= */
.aacs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.aacs-dot-green {
    background: #4c873d;
}

/* =========================
   SUCCESS BUTTON
========================= */
.aacs-btn-success {
    background: #4c873d;
    color: #fff;
}

.aacs-btn-success:hover {
    background: #3f6f33;
}

/* =========================
   DESASSOCIACAO
========================= */
.aacs-card-lg {
    padding: 32px;
}

.aacs-section-header {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.aacs-alert {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 32px;
}

.aacs-alert-info {
    background: #eff6ff;
    border: 1px solid #93c5fd;
}

.aacs-desassociacao .aacs-alert-info h4 {
    margin: 0 0 8px 0;
    color: #1e293b;
}

.aacs-desassociacao .aacs-alert-info p {
    margin: 0 0 12px 0;
    color: #334155;
}

.aacs-contact-link {
    display: inline-block;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.aacs-contact-link:hover {
    text-decoration: underline;
}

.aacs-icon-circle-danger {
    background: #fee2e2;
    color: #b91c1c;
    border: 2px solid #b91c1c;
}

.aacs-icon-circle-danger svg {
    stroke: #b91c1c;
}

.aacs-list-check {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0 0;
}

.aacs-list-check li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 6px;
}

.aacs-list-check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.aacs-list-warning {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0 0;
}

.aacs-list-warning li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 6px;
}

.aacs-list-warning li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2'%3E%3Cpath d='M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.aacs-btn-block {
    display: block;
    width: 100%;
    margin-top: auto;
}

.aacs-welcome {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.aacs-id-card {
    background-color: #eff1f9;
    border: 2px solid #b9c1e1;
    border-radius: 0.5rem;
    padding: 0.8rem 1rem;
    transition: all 0.2s;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #010d0d;
}

.aacs-id-card:hover {
    background-color: #dbeafe;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.aacs-id-card .aacs-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    flex: 1;
    color: #010d0d;
}

.aacs-toast-btn {
    display: inline-block;
    margin-right: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    border: none;
    font-size: .875rem;
    cursor: pointer;
    background: #2563eb;
    color: #fff;
}

.aacs-toast-btn-secondary {
    background: #e5e7eb;
    color: #111827;
}

.aacs-desassociacao .aacs-btn-warning {
    background: #ea580c;
    color: #fff;
}

.aacs-desassociacao .aacs-btn-warning:hover {
    background: #c2410c;
}

.aacs-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.aacs-option-card {
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aacs-option-warning {
    background: #fff7ed;
    border: 2px solid #fdba74;
}

.aacs-option-danger {
    background: #fef2f2;
    border: 2px solid #fca5a5;
}

.aacs-option-header {
    display: flex;
    gap: 12px;
}

.aacs-option-header h4 {
    margin: 0;
}

.aacs-option-header p {
    font-size: .875rem;
    color: #6b7280;
}

.aacs-option-body ul {
    margin-top: 8px;
    padding-left: 16px;
}

.aacs-icon-box {
    padding: 10px;
    border-radius: 10px;
}

.aacs-icon-box-warning {
    background: #ffedd5;
    color: #c2410c;
}

.aacs-icon-box-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.aacs-btn-warning {
    background: #ea580c;
    color: #fff;
}

.aacs-btn-warning:hover {
    background: #c2410c;
}

.aacs-btn-danger {
    background: #dc2626;
    color: #fff;
}

.aacs-btn-danger:hover {
    background: #b91c1c;
}

.aacs-footer-note {
    margin-top: 32px;
    background: #f9fafb;
    padding: 16px;
    border-radius: 10px;
}

/* =========================
   EVENTOS
========================= */

/* Yellow / warning variant */
.aacs-icon-circle-warning {
    background: #fef9c3;
}

.aacs-icon-circle-warning svg {
    stroke: #d4d023;
}

/* Highlight box */
.aacs-highlight-warning {
    background: #fffbeb;
    border: 2px solid #fde68a;
}

/* Dots */
.aacs-dot-warning {
    background: #d4d023;
}

/* Button */
.aacs-btn-warning {
    background: #d4d023;
    color: #1f2937;
    font-weight: 600;
}

.aacs-btn-warning:hover {
    background: #facc15;
}

/* =========================
   PERFIL / FORM
========================= */
.aacs-form {
    display: grid;
    gap: 24px;
}

.aacs-form-section {
    margin-bottom: 32px;
}

.aacs-form-title {
    font-size: 1.125rem;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.aacs-form-field label {
    font-size: .875rem;
    color: #010d0d;
    margin-bottom: 6px;
    display: block;
}

.aacs-form-field {
    padding: 5px;
}

.aacs-modal-box h3 {
    font-size: 15px;
}

.aacs-modal-box svg {
    width: 15px;
    margin-right: 5px;
}

.aacs-form-field input,
.aacs-form-field select,
.aacs-form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
}

.aacs-form-field input:focus,
.aacs-form-field select:focus,
.aacs-form-field textarea:focus {
    outline: none;
    border-color: #60a5fa;
}

.aacs-form-actions {
    display: flex;
    justify-content: flex-end;
}

.aacs-icon-circle-primary {
    background: #dbeafe;
}

.aacs-icon-circle-primary svg {
    stroke: #2c3079;
}

.aacs-alert-success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #065f46;
}

.aacs-hidden {
    display: none;
}

/* Wrapper */
.aacs-terms-field {
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 8px;
    padding: 14px 16px;
}

/* Label layout */
.aacs-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Checkbox styling */
.aacs-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
}

/* Required star color */
.aacs-checkbox span {
    line-height: 1.4;
}


.aacs-modal {
    position: fixed;
    inset: 0;
    background: #000000ad;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: Inter, system-ui, sans-serif;
}

.aacs-modal-box {
    background: #fff;
    width: 720px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

.aacs-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
}

.aacs-modal-header h2 {
    margin: 0;
    font-size: 22px;
}

.aacs-modal-header p {
    margin: 4px 0 0;
    color: #6b7280;
}

.aacs-close {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

.aacs-modal-body {
    padding: 24px;
    overflow-y: auto;
}

.aacs-input-readonly,
input.aacs-input-readonly[readonly],
textarea.aacs-input-readonly[readonly] {
    background: #f3f4f6;
    color: #4b5563;
    cursor: not-allowed;
}

.aacs-section {
    margin-bottom: 28px;
}

.aacs-section h3 {
    margin-bottom: 16px;
}

.aacs-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
}

/* Member details modal */
.aacs-member-details-modal .aacs-modal-box {
    width: 760px;
}

.aacs-member-edit-modal .aacs-modal-box {
    width: 760px;
}

form#aacs-member-edit-form {
    overflow: auto;
}

#aacs-member-edit-form button.aacs-btn.aacs-btn-secondary.aacs-close {
    width: 20%;
    border: 1px solid #bdbec4;
    color: #7a7a7a;
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#aacs-member-edit-form button.aacs-btn.aacs-btn-primary.aacs-member-save-btn {
    width: 40%;
    background: #3e3e3e;
    font-size: 16px;
}

#aacs-member-edit-form .aacs-modal-footer {
    justify-content: end;
}

.aacs-member-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.aacs-member-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
}

.aacs-member-details-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
}

.aacs-member-details-grid {
    display: grid;
    gap: 16px;
}

.aacs-member-details-grid.two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aacs-member-details-grid.three-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 720px) {

    .aacs-member-details-grid.two-cols,
    .aacs-member-details-grid.three-cols {
        grid-template-columns: 1fr;
    }
}

.aacs-member-details-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.aacs-member-details-value {
    font-size: 15px;
    color: #111827;
}

.aacs-member-details-subtle {
    font-size: 13px;
    color: #6b7280;
    margin-top: 6px;
}

/* ----- Payments modal (member payment history) ----- */
.aacs-payments-modal .aacs-modal-box {
    max-width: 560px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.aacs-payments-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 4px 0 0;
}

.aacs-payments-body {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.aacs-payments-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.aacs-payments-summary-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    text-align: center;
}

.aacs-payments-summary-card--green {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.aacs-payments-summary-card--blue {
    background: #1e88e5;
    border-color: #1e88e5;
    color: #fff;
}

.aacs-payments-summary-card--blue .aacs-payments-summary-label {
    color: rgba(255, 255, 255, .9);
}

.aacs-payments-summary-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.aacs-payments-summary-value {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.aacs-payments-summary-card--blue .aacs-payments-summary-value {
    color: #fff;
}

.aacs-payments-list-wrap {
    flex: 1;
    min-height: 120px;
    overflow: auto;
}

.aacs-payments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aacs-payment-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
}

.aacs-payment-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.aacs-payment-order-id {
    font-weight: 600;
    font-size: 15px;
    color: #111827;
}

.aacs-payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.aacs-payment-badge--success {
    background: #d1fae5;
    color: #065f46;
}

.aacs-payment-badge--default {
    background: #f3f4f6;
    color: #4b5563;
}

.aacs-payment-item-date {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.aacs-payment-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
}

.aacs-payment-type-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.aacs-payment-type-tag--associados {
    background: #e0e7ff;
    color: #3730a3;
}

.aacs-payment-type-tag--credenciais {
    background: #dcfce7;
    color: #166534;
}

.aacs-payment-type-tag--eventos {
    background: #fef3c7;
    color: #92400e;
}

.aacs-payment-item-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
}

.aacs-payment-amount {
    font-weight: 600;
    font-size: 16px;
    color: #111827;
}

.aacs-payment-view-btn,
.aacs-payment-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid #374151;
    color: #374151;
    background: transparent;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.aacs-payment-view-btn:hover {
    background: #374151;
    color: #fff;
}

.aacs-payments-loading,
.aacs-payments-empty {
    text-align: center;
    padding: 24px 16px;
    color: #6b7280;
    font-size: 14px;
}

.aacs-member-loader .aacs-member-loader-box {
    background: #fff;
    border-radius: 12px;
    padding: 18px 22px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.aacs-member-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #e5e7eb;
    border-top-color: #2c3079;
    border-radius: 50%;
    animation: aacs-spin 0.7s linear infinite;
}

.aacs-loader {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    display: none;
    animation: aacs-spin 0.7s linear infinite;
}

/* AJAX loading on .aacs-btn (modal actions, resend, etc.) */
.aacs-btn.loading {
    cursor: wait;
    pointer-events: none;
    opacity: 0.92;
}

.aacs-btn.loading .aacs-btn-text {
    display: none;
}

.aacs-btn.loading .aacs-loader {
    display: inline-block !important;
}

.aacs-btn-primary.loading .aacs-loader,
.aacs-btn-danger.loading .aacs-loader {
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
}

.aacs-btn-outline.loading .aacs-loader,
.aacs-btn-secondary.loading .aacs-loader {
    border: 2px solid #e5e7eb;
    border-top-color: #2c3079;
}

.aacs-btn.aacs-btn-nova-credencial.loading {
    cursor: wait;
    pointer-events: none;
    opacity: 0.92;
}

.aacs-btn.aacs-btn-nova-credencial.loading .aacs-btn-nova-credencial-icon {
    display: none;
}

.aacs-btn.aacs-btn-nova-credencial.loading .aacs-btn-text {
    display: inline !important;
}

.aacs-btn.aacs-btn-nova-credencial.loading .aacs-loader {
    display: inline-block !important;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
}

.aacs-btn.aacs-btn-baixar-pdf.loading {
    cursor: wait;
    pointer-events: none;
    opacity: 0.92;
}

.aacs-btn.aacs-btn-baixar-pdf.loading .aacs-btn-baixar-pdf-icon {
    display: none;
}

.aacs-btn.aacs-btn-baixar-pdf.loading .aacs-btn-text {
    display: inline !important;
}

.aacs-btn.aacs-btn-baixar-pdf.loading .aacs-loader {
    display: inline-block !important;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
}

.aacs-btn.aacs-btn-baixar-pdf .aacs-loader {
    margin-left: 8px;
    vertical-align: middle;
}

.aacs-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.aacs-form-field.has-error {
    border-color: #dc2626;
}

@keyframes aacs-spin {
    to {
        transform: rotate(360deg);
    }
}

form .loading .aacs-btn-text {
    display: none;
}

form .loading .aacs-loader {
    display: inline-block;
}


/******************************************************/
/*===================Admin Dashboard==================*/
/******************************************************/

/* ===== ADMIN LAYOUT ===== */
.aacs-admin-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.aacs-admin-container {
    max-width: 1430px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aacs-logo img {
    height: 36px
}

/* MENU */
.aacs-menu {
    display: flex;
    gap: 4px;
}

.aacs-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 14px;
    color: #374151;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
}

.aacs-link svg {
    width: 16px;
    height: 16px
}

.aacs-link:hover {
    background: #f3f4f6
}

.aacs-link.active {
    background: #111827;
    color: #fff;
}

/* DROPDOWN */
.aacs-dropdown {
    position: relative
}

.aacs-dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    width: 240px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    padding: 6px;
}

.aacs-dropdown-menu.show {
    display: block
}

.aacs-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
}

.aacs-dropdown-item svg {
    width: 16px;
    height: 16px
}

.aacs-dropdown-item:hover {
    background: #f3f4f6
}

.aacs-dropdown-item.disabled {
    opacity: .45;
    cursor: not-allowed;
}

.aacs-dropdown-item em {
    margin-left: auto;
    font-size: 11px;
    color: #9ca3af;
}

a.aacs-dropdown-item.aacs-dropdown-item--active {
    background: #eef1ff;
    color: #2c3079;
}

/* USER */
.aacs-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.aacs-icon {
    padding: 8px;
    border-radius: 10px;
    color: #4b5563;
}

.aacs-user .aacs-text-left {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.aacs-icon svg {
    width: 18px;
    height: 18px
}
.aacs-login-form .aacs-field span.aacs-icon{
    top: 25px !important;
}

.aacs-icon:hover {
    background: #f3f4f6
}

.aacs-user-info strong {
    font-size: 14px;
    color: #111827;
}


/******************************************************/
/* AACS – Admin Dashboard (semantic, no Tailwind)     */
/******************************************************/

/* Dashboard wrapper */
.aacs-admin-dashboard {
    margin-top: 32px;
}

/* ===== PAGE HEADER ===== */
.aacs-admin-page-header {
    margin-bottom: 32px;
}

.aacs-admin-page-header h1 {
    font-size: 30px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.aacs-admin-page-header p {
    font-size: 15px;
    color: #6b7280;
}

/* ===== STATS GRID ===== */
.aacs-admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 1024px) {
    .aacs-admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .aacs-admin-stats {
        grid-template-columns: 1fr;
    }
}

/* ===== STAT CARD ===== */
.aacs-admin-stat {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.aacs-admin-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.aacs-admin-stat-label {
    font-size: 14px;
    color: #6b7280;
}

.aacs-admin-stat-value {
    font-size: 30px;
    font-weight: 700;
    color: #111827;
}

.aacs-admin-stat-value.green {
    color: #16a34a;
}

.aacs-admin-stat-value.yellow {
    color: #ca8a04;
}

.aacs-admin-stat-value.red {
    color: #dc2626;
}

/* Icon box */
.aacs-admin-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aacs-admin-stat-icon svg {
    width: 24px;
    height: 24px;
}

.aacs-admin-stat-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.aacs-admin-stat-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.aacs-admin-stat-icon.yellow {
    background: #fef3c7;
    color: #ca8a04;
}

.aacs-admin-stat-icon.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.aacs-admin-stat-icon.red {
    background: #fee2e2;
    color: #dc2626;
}

.aacs-admin-stat-icon.gray {
    background: #f3f4f6;
    color: #6b7280;
}

/* Dashboard stat card: icon top-left, body (value, label, extra) beside it */
.aacs-admin-stat-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
}

.aacs-admin-stat-card .aacs-admin-stat-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aacs-admin-stat-card .aacs-admin-stat-icon svg {
    width: 24px;
    height: 24px;
}

.aacs-admin-stat-body {
    flex: 1;
    min-width: 0;
    position: relative;
    padding-right: 8px;
}

.aacs-admin-stat-body .aacs-admin-stat-trend {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 13px;
    font-weight: 600;
}

.aacs-admin-stat-body .aacs-admin-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.aacs-admin-stat-body .aacs-admin-stat-label {
    font-size: 14px;
    color: #374151;
    margin-top: 4px;
}

.aacs-admin-stat-body .aacs-admin-stat-extra {
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.aacs-admin-stat-extra.green {
    color: #16a34a;
}

.aacs-admin-stat-extra.yellow {
    color: #ca8a04;
}

.aacs-admin-stat-extra.red {
    color: #dc2626;
}

.aacs-admin-stat-extra.neutral {
    color: #6b7280;
}

.aacs-trend-icon {
    font-size: 12px;
    line-height: 1;
    opacity: 0.9;
}

.aacs-trend-icon.aacs-trend-up {
    transform: scale(0.9);
}

.aacs-trend-icon.aacs-trend-down {
    transform: scale(0.9);
}

.aacs-admin-stat-trend.green {
    color: #16a34a;
}

.aacs-admin-stat-trend.yellow {
    color: #ca8a04;
}

.aacs-admin-stat-trend.red {
    color: #dc2626;
}

/* Dashboard two-column layout */
.aacs-admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (max-width: 1024px) {
    .aacs-admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.aacs-admin-dashboard-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.aacs-admin-stats-members {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 640px) {
    .aacs-header-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .aacs-nav-link-site {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        background-color: #eff6ff;
        color: #010d0d;
        border-radius: 0.5rem;
        transition: background-color 0.2s;
    }

    .aacs-nav-link-site:hover {
        background-color: #dbeafe;
    }

    .aacs-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .aacs-header-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .aacs-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .aacs-welcome {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .aacs-admin-stats-members {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .aacs-admin-stats-members {
        grid-template-columns: 1fr;
    }
}

.aacs-admin-dashboard-financial {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Receita Este Mês: light green card, white text */
.aacs-admin-stat-revenue {
    background: linear-gradient(145deg, #22c55e 0%, #16a34a 100%);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.aacs-admin-stat-revenue-inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.aacs-admin-stat-revenue-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aacs-admin-stat-revenue-icon svg {
    width: 28px;
    height: 28px;
}

.aacs-admin-stat-revenue-content {
    flex: 1;
}

.aacs-admin-stat-revenue .aacs-admin-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
}

.aacs-admin-stat-revenue .aacs-admin-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.aacs-admin-stat-revenue .aacs-admin-stat-extra {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.aacs-admin-stat-revenue .aacs-trend-icon {
    color: rgba(255, 255, 255, 0.95);
}

/* Atividade do Mês: white card, list rows with label left / count right */
.aacs-admin-activity-of-month {
    margin: 0;
    padding: 24px;
}

.aacs-admin-activity-of-month h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
}

.aacs-activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aacs-activity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.aacs-activity-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aacs-activity-row .aacs-activity-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aacs-activity-row .aacs-activity-stat-icon svg {
    width: 20px;
    height: 20px;
}

.aacs-activity-stat-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.aacs-activity-stat-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.aacs-activity-stat-icon.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.aacs-activity-label {
    font-size: 15px;
    color: #374151;
    font-weight: 500;
}

.aacs-activity-count {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

/* ===== ATIVIDADE RECENTE (Recent transactions) ===== */
.aacs-admin-recent-activity {
    margin-top: 32px;
}

.aacs-admin-recent-activity-card {
    padding: 28px 24px;
}

.aacs-recent-activity-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
}

.aacs-recent-activity-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px 0;
}

.aacs-recent-activity-list {
    border-top: 1px solid #e5e7eb;
}

.aacs-recent-activity-empty {
    padding: 24px 0;
    color: #6b7280;
    font-size: 14px;
    text-align: center;
}

.aacs-recent-activity-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.aacs-recent-activity-item:last-child {
    border-bottom: none;
}

.aacs-recent-activity-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.aacs-recent-activity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.aacs-recent-activity-dot.blue {
    background: #2563eb;
}

.aacs-recent-activity-dot.green {
    background: #16a34a;
}

.aacs-recent-activity-dot.purple {
    background: #7c3aed;
}

.aacs-recent-activity-dot.orange {
    background: #f59e0b;
}

.aacs-recent-activity-dot.red {
    background: #dc2626;
}

.aacs-recent-activity-dot.gray {
    background: #9ca3af;
}

.aacs-recent-activity-details {
    min-width: 0;
}

.aacs-recent-activity-name {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.aacs-recent-activity-email {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.aacs-recent-activity-email svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.aacs-recent-activity-desc {
    font-size: 14px;
    color: #374151;
    margin-bottom: 2px;
}

.aacs-recent-activity-sep {
    color: #9ca3af;
    margin: 0 6px;
}

.aacs-recent-activity-amount {
    color: #16a34a;
    font-weight: 600;
}

.aacs-recent-activity-time {
    font-size: 12px;
    color: #9ca3af;
}

.aacs-recent-activity-right {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    flex-shrink: 0;
}

.aacs-recent-activity-right svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* ===== MAIN GRID ===== */
.aacs-admin-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

@media (max-width: 1024px) {
    .aacs-admin-main-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== GENERIC CARD ===== */
.aacs-admin-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    border: #d3d4d9 1px solid;
}

.aacs-admin-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 24px;
}

/* ===== STATUS DISTRIBUTION ===== */
.aacs-admin-status-item {
    margin-bottom: 16px;
}

.aacs-admin-status-head {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 6px;
    color: #374151;
}

.aacs-admin-status-track {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.aacs-admin-status-fill {
    height: 100%;
    border-radius: 999px;
}

.fill-green {
    background: #22c55e;
}

.fill-yellow {
    background: #eab308;
}

.fill-blue {
    background: #3b82f6;
}

.fill-gray {
    background: #9ca3af;
}

.fill-red {
    background: #ef4444;
}

/* ===== QUICK ACTIONS ===== */
/* .aacs-admin-actions a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 12px;
    text-decoration: none;
    font-weight: 500;
} */

.aacs-admin-actions span {
    float: right;
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .08);
}

.action-blue {
    background: #eff6ff;
    color: #1d4ed8;
}

.action-yellow {
    background: #fffbeb;
    color: #92400e;
}

.action-purple {
    background: #faf5ff;
    color: #6b21a8;
}

.action-green {
    background: #ecfdf5;
    color: #166534;
}

/* ===== ACTIVITY ===== */
.aacs-admin-activity {
    margin-top: 32px;
}

.aacs-admin-activity-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 16px;
}

.activity-yellow {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.activity-green {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.activity-blue {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.aacs-admin-activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aacs-info {
    background: #eff6ff;
    padding: 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 12px;
}

/******************************************************/
/* AACS – Admin Associados (NEW semantic styles)      */
/******************************************************/

/* Page wrapper */
.aacs-admin-associados,
.aacs-admin-credenciais {
    margin-top: 32px;
}

/* Header with action */
.aacs-admin-page-header--with-action {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

/* Buttons */
.aacs-admin-primary-btn,
.aacs-admin-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.aacs-admin-primary-btn {
    background: #2563eb;
    color: #fff;
}

.aacs-admin-primary-btn svg {
    width: 18px;
    height: 18px;
}

.aacs-admin-filters .aacs-admin-secondary-btn {
    background: #fff;
    color: #fff;
    border: 1px solid var(--border-strong);
    font-size: 14px;
    font-weight: 700;
}

#aacs-cred-more-filters {
    color: var(--text);
}

.aacs-admin-filters .aacs-admin-secondary-btn svg {
    stroke: #fff;
}

/* Filters */
.aacs-admin-filters {
    margin-bottom: 24px;
}

.aacs-admin-filters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .aacs-admin-filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .aacs-admin-filters-grid {
        grid-template-columns: 1fr;
    }
}

.aacs-admin-field label {
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.aacs-admin-field input,
.aacs-admin-field select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 13px;
}

.aacs-admin-field .aacs-admin-credenciais-filters .aacs-admin-field input,
.aacs-admin-credenciais-filters .aacs-admin-field select,
#aacs-cred-search {
    font-size: 13px !important;
}

.aacs-admin-filter-action {
    display: flex;
    align-items: flex-end;
}

/* Mini stats */
.aacs-admin-associados-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .aacs-admin-associados-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .aacs-admin-associados-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.aacs-admin-mini-stat {
    background: #fff;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.aacs-admin-mini-stat strong {
    font-size: 34px;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.aacs-admin-mini-stat span {
    font-size: 12px;
    color: #6b7280;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.aacs-admin-mini-stat.green {
    background: var(--success-soft);
    border-color: #a7f3d0;
}

.aacs-admin-mini-stat.green strong {
    color: #16a34a;
}

.aacs-admin-mini-stat.yellow {
    background: var(--warning-soft);
    border-color: #fde68a;
}

.aacs-admin-mini-stat.yellow strong {
    color: #ca8a04;
}

.aacs-admin-mini-stat.blue {
    background: var(--info-soft);
    border-color: #bfdbfe;
}

.aacs-admin-mini-stat.blue strong {
    color: #2563eb;
}

.aacs-admin-mini-stat.gray {
    background: var(--success-soft);
    border-color: #a7f3d0;
}

.aacs-admin-mini-stat.gray strong {
    color: #6b7280;
}

.aacs-admin-mini-stat.red {
    background: var(--danger-soft);
    border-color: #fecaca;
}

.aacs-admin-mini-stat.red strong {
    color: #dc2626;
}

.aacs-admin-mini-stat.navy {
    background: var(--info-soft);
    border-color: #bfdbfe;
}

.aacs-admin-mini-stat.navy strong {
    color: #1e3a8a;
}

/* Admin — Gestão de Credenciais (/admin/credenciais/) */
.aacs-admin-credenciais {
    margin-top: 0;
    padding: 32px 16px 80px 16px;
}

/* Admin — nova credencial manual (/admin/credenciais/add/): same chrome as Gestão, portal add page unchanged */
.aacs-admin-credenciais--add-form .aacs-cred-cart-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.aacs-admin-credenciais--add-form .aacs-admin-card.aacs-credenciais-add-card {
    padding: 24px;
}

.aacs-admin-credenciais--add-form .aacs-cred-cart-summary-aside.aacs-admin-card {
    padding: 24px 22px 24px;
}

.aacs-admin-credenciais--add-form .aacs-cred-resumo-heading,
.aacs-admin-credenciais--add-form .aacs-credenciais-add-card-title,
.aacs-admin-credenciais--add-form .aacs-credenciais-cart-title {
    color: #111827;
}

.aacs-admin-credenciais-header.aacs-admin-page-header--with-action {
    align-items: flex-start;
}

.aacs-admin-credenciais-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Match aacs-credenciais.html prototype: .page-header #a-cred-actions (btn + btn-outline / btn-dark) */
.aacs-admin-credenciais .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
    line-height: 1.2;
    box-sizing: border-box;
}

.aacs-admin-credenciais .btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.aacs-admin-credenciais .btn-dark {
    background: #1f2937;
    color: #fff;
}

.aacs-admin-credenciais .btn-dark:hover:not(:disabled) {
    background: #111827;
    color: #fff;
}

.aacs-admin-credenciais .btn-outline {
    background: #fff;
    color: #111827;
    border: 1px solid #d1d5db;
}

.aacs-admin-credenciais a.btn-outline:hover {
    color: #111827;
}

.aacs-admin-credenciais .btn-outline:hover:not(:disabled) {
    background: #f9fafb;
    color: #111827;
}

.aacs-admin-credenciais .aacs-cred-proto-icn {
    flex-shrink: 0;
    vertical-align: middle;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.aacs-admin-credenciais-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 6px;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 22px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.aacs-admin-credenciais-subnav-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.aacs-admin-credenciais-subnav-item:hover {
    color: #111827;
    background: #f3f4f6;
}

.aacs-admin-credenciais-subnav-item.active {
    background: #2546f0;
    color: #fff;
}

.aacs-admin-credenciais-subnav-item.active:hover {
    background: #1d3ad4;
    color: #fff;
}

.aacs-admin-credenciais-subnav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 11px;
    font-weight: 800;
}

.aacs-admin-credenciais-subnav-item.active .aacs-admin-credenciais-subnav-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.aacs-admin-credenciais-panel {
    display: none;
}

.aacs-admin-credenciais-panel.active {
    display: block;
}

.aacs-admin-credenciais-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.aacs-admin-credenciais-filters-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.aacs-admin-credenciais-filter-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.aacs-admin-credenciais-filters .aacs-admin-field input,
.aacs-admin-credenciais-filters .aacs-admin-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
}

.aacs-admin-credenciais-filters-extra {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.aacs-admin-credenciais-filter-spacer {
    min-height: 22px;
}

.aacs-admin-credenciais-warn {
    margin: 0;
    color: #92400e;
}

.aacs-cred-admin-name {
    font-weight: 700;
    font-size: 14px;
    color: #111827;
}

.aacs-cred-admin-sub {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.aacs-cred-admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-wrap: nowrap;
}

.aacs-cred-admin-badge--green {
    background: var(--success-bg);
    color: #166534;
}

.aacs-cred-admin-badge--yellow {
    background: var(--warning-bg);
    color: #92400e;
}

.aacs-cred-admin-badge--blue {
    background: #dbeafe;
    color: #1e40af;
}

.aacs-cred-admin-badge--blue-light {
    background: var(--info-bg);
    color: #075985;
}

.aacs-cred-admin-badge--purple {
    background: #ede9fe;
    color: #5b21b6;
}

.aacs-cred-admin-badge--gray {
    background: #f3f4f6;
    color: #374151;
}

.aacs-cred-admin-badge--red {
    background: #fee2e2;
    color: #991b1b;
}

.aacs-cred-admin-recv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-weight: 500;
}

.aacs-cred-admin-recv svg {
    flex-shrink: 0;
    color: #6b7280;
}

.aacs-cred-admin-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.aacs-cred-admin-open-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
    text-decoration: none;
}

.aacs-cred-admin-table-acoes {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

button.aacs-cred-list-edit-entrega-obs {
    cursor: pointer;
    font-family: inherit;
}

.aacs-cred-emit-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.aacs-cred-emit-badge--done {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.aacs-cred-emit-badge--muted {
    color: #9ca3af;
    font-weight: 600;
}

.aacs-cred-quick-emit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.aacs-cred-quick-emit-btn:hover:not(:disabled):not(.is-loading) {
    background: #dbeafe;
    border-color: #1d4ed8;
    color: #1e3a8a;
}

.aacs-cred-quick-emit-btn:disabled,
.aacs-cred-quick-emit-btn.is-loading {
    opacity: 0.65;
    cursor: wait;
}

.aacs-admin-credenciais-table td .aacs-cred-admin-badge,
.aacs-admin-credenciais-table td .aacs-cred-admin-recv {
    display: inline-flex;
}

.aacs-admin-table-scroll {
    overflow-x: auto;
    width: 100%;
}

.aacs-admin-credenciais-table td .aacs-cred-admin-recv span {
    display: inline;
    font-size: inherit;
    color: inherit;
}
.aacs-credencial-orders-tr {
    overflow: visible !important;
}
.aacs-reg-action-icons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.aacs-reg-action-icon {
    width: 28px;
    height: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.aacs-reg-action-icon:hover {
    border-color: #9ca3af;
    background: #f9fafb;
    color: #111827;
}

.aacs-reg-action-icon.is-loading {
    opacity: 0.65;
    cursor: wait;
}

.aacs-regional-modal {
    background: rgba(0, 0, 0, 0.45);
}

.aacs-regional-modal .aacs-regional-modal-box {
    width: min(92vw, 760px);
    border-radius: 16px;
    overflow: hidden;
}

.aacs-regional-modal .aacs-regional-modal-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 22px 24px 16px;
}

.aacs-regional-modal .aacs-regional-modal-header h2 {
    margin: 0 0 6px;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
    color: #111827;
}

.aacs-regional-modal .aacs-regional-modal-header p {
    margin: 0;
    font-size: 15px;
    color: #6b7280;
}

.aacs-regional-modal .aacs-regional-modal-body {
    padding: 20px 24px;
}

.aacs-regional-modal .aacs-regional-modal-body .aacs-form-field {
    margin-bottom: 14px;
}

.aacs-regional-modal .aacs-regional-modal-body label {
    font-weight: 700;
}

.aacs-regional-modal .aacs-regional-modal-body .aacs-title {
    margin: 10px 0 8px;
}

.aacs-regional-modal .aacs-regional-modal-footer {
    border-top: 1px solid #e5e7eb;
    padding: 16px 24px;
    justify-content: flex-end;
}

.aacs-cred-advanced-filters-modal {
    background: rgba(0, 0, 0, 0.45);
}

.aacs-cred-advanced-filters-modal .aacs-cred-advanced-filters-modal-box {
    width: min(96vw, 980px);
    border-radius: 16px;
    overflow: hidden;
}

.aacs-cred-advanced-filters-modal .aacs-cred-advanced-filters-modal-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 22px 24px 16px;
}

.aacs-cred-advanced-filters-modal .aacs-cred-advanced-filters-modal-header h2 {
    margin: 0 0 6px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 800;
    color: #111827;
}

.aacs-cred-advanced-filters-modal .aacs-cred-advanced-filters-modal-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.aacs-cred-advanced-filters-modal .aacs-cred-advanced-filters-modal-body {
    padding: 20px 24px;
    display: grid;
    gap: 14px;
}

.aacs-cred-advanced-filters-modal .aacs-cred-advanced-filters-modal-body .aacs-form-field {
    margin-bottom: 0;
}

.aacs-cred-advanced-filters-modal .aacs-cred-advanced-filters-modal-body label {
    font-weight: 700;
}

.aacs-cred-advanced-filters-modal .aacs-cred-advanced-filters-modal-footer {
    border-top: 1px solid #e5e7eb;
    padding: 16px 24px;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 1100px) {
    .aacs-admin-credenciais-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aacs-admin-credenciais-filters-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .aacs-admin-credenciais-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aacs-admin-credenciais-filters-grid {
        grid-template-columns: 1fr;
    }
}

/* Table */
.aacs-admin-table-wrapper {
    padding: 0;
}

.aacs-admin-table {
    width: 100%;
    border-collapse: collapse;
}


.aacs-admin-table th {
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: #9ca3af;
    text-transform: uppercase;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.aacs-admin-table td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    font-size: 13px;
    color: #374151;
}

.aacs-admin-table td span {
    display: block;
    font-size: 12px;
    color: #6b7280;
}

.aacs-admin-table td strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.aacs-admin-table td small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #9ca3af;
}

.aacs-admin-table.dataTable>thead>tr>th,
.aacs-admin-table.dataTable>thead>tr>td {
    padding: 16px;
}


.align-right {
    text-align: right;
}

/* Badges */
.aacs-admin-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.aacs-admin-badge.ativo {
    background: #dcfce7;
    color: #166534;
}

.aacs-admin-badge.inadimplente {
    background: #fef3c7;
    color: #92400e;
}

.aacs-admin-badge.pendente {
    background: #dbeafe;
    color: #1d4ed8;
}

.aacs-admin-badge.inativo {
    background: #e5e7eb;
    color: #374151;
}

.aacs-admin-badge.desligado {
    background: #fee2e2;
    color: #b91c1c;
}

/* Action links */
.aacs-admin-link-btn {
    background: none;
    border: none;
    color: #2563eb;
    font-weight: 500;
    cursor: pointer;
    margin-left: 8px;
}

.aacs-admin-link-btn.muted {
    color: #6b7280;
}

/* Pagination */
.aacs-admin-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.aacs-admin-pagination button {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
}

/******************************************************/
/* AACS – Admin Configurações                         */
/******************************************************/

.aacs-admin-config {
    margin-top: 32px;
}

.aacs-admin-config-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

@media (max-width: 1024px) {
    .aacs-admin-config-layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.aacs-admin-config-menu {
    position: sticky;
    top: 96px;
}

.aacs-admin-config-menu nav a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 6px;
}

.aacs-admin-config-menu nav a:hover {
    background: #f3f4f6;
}

.aacs-admin-config-menu nav a.active {
    background: #e5e7eb;
    color: #111827;
}

/* Content */
.aacs-admin-config-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Form */
.aacs-admin-form {
    display: grid;
    gap: 16px;
}

.aacs-admin-field label {
    display: block;
    font-size: 11px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.aacs-admin-field input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
}

.aacs-admin-field small {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

/* Checkbox */
.aacs-admin-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aacs-admin-checkbox label {
    font-size: 14px;
    color: #374151;
}

/* Info box */
.aacs-admin-info-box {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    margin-bottom: 16px;
}

.aacs-admin-info-box svg {
    width: 20px;
    height: 20px;
    color: #2563eb;
    flex-shrink: 0;
}

/* Danger zone */
.aacs-admin-danger-zone {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.aacs-admin-danger-zone h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.aacs-admin-danger-btn {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
}

/* Actions */
.aacs-admin-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.aacs-admin-cancel-btn {
    background: #e5e7eb;
    color: #374151;
    padding: 12px 18px;
    border-radius: 10px;
    border: none;
}

.aacs-admin-save-btn {
    background: #2563eb;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    border: none;
}



/******************************************************/
/* AACS – Admin E-mails                               */
/******************************************************/

.aacs-admin-emails {
    margin-top: 32px;
}

/* Stats (extends dashboard stats) */
.aacs-admin-stat-value.red {
    color: #dc2626;
}

.aacs-admin-stat-value.orange {
    color: #ea580c;
}

.aacs-admin-stat-icon.red {
    background: #fee2e2;
    color: #dc2626;
}

.aacs-admin-stat-icon.orange {
    background: #ffedd5;
    color: #ea580c;
}

.aacs-admin-email-stats {
    margin-bottom: 24px;
}

/* Tabs */
.aacs-admin-email-tabs {
    margin-top: 0;
}

.aacs-admin-email-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 24px;
}

.aacs-admin-email-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.aacs-admin-email-tab-btn:hover {
    color: #374151;
}

.aacs-admin-email-tab-btn.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 600;
}

.aacs-admin-email-tab-btn svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.aacs-admin-email-tab-btn.active svg {
    opacity: 1;
    color: #2563eb;
}

.aacs-admin-email-tab-content {
    display: none;
}

.aacs-admin-email-tab-content.active {
    display: block;
}

/* Email Logs Toolbar */
.aacs-admin-email-logs-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.aacs-admin-email-search {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #bdbec4;
    border-radius: 10px;
}

.aacs-admin-email-search svg {
    flex-shrink: 0;
    color: #9ca3af;
}

.aacs-admin-email-search-input,
.aacs-admin-email-templates-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
}

.aacs-admin-email-templates-table thead,
.aacs-admin-email-logs-table thead {
    background-color: #f9f9fa;
}

.aacs-admin-email-search-input::placeholder,
aacs-admin-email-templates-search-input::placeholder {
    color: #9ca3af;
}

.aacs-admin-email-status-filter {
    padding: 10px 36px 10px 16px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
}

.aacs-admin-export-csv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Email Log Status Badges */
.aacs-admin-email-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.aacs-admin-email-status-badge.sent {
    background: #dcfce7;
    color: #166534;
}

.aacs-admin-email-status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.aacs-admin-email-status-badge.failed {
    background: #fee2e2;
    color: #991b1b;
}

/* Email Log Actions */
.aacs-admin-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #f9fafb;
    color: #2563eb;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.aacs-admin-action-btn:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

.aacs-admin-action-btn.green {
    color: #16a34a;
}

.aacs-admin-action-btn.green:hover {
    background: #dcfce7;
}

/* Email Templates Tab */
.aacs-admin-email-templates-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.aacs-admin-email-category-filter {
    padding: 10px 36px 10px 16px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
}

.aacs-admin-email-settings-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #374151;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.aacs-admin-email-settings-btn:hover {
    background: #4b5563;
    color: #fff;
}

/* Template name with slug */
.aacs-admin-template-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aacs-admin-template-name strong {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.aacs-admin-template-slug {
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
}

/* Toggle switch */
.aacs-admin-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.aacs-admin-toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.aacs-admin-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    border-radius: 24px;
    transition: background-color 0.2s;
}

.aacs-admin-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.aacs-admin-toggle-input:checked+.aacs-admin-toggle-slider {
    background-color: #2563eb;
}

.aacs-admin-toggle-input:checked+.aacs-admin-toggle-slider:before {
    transform: translateX(20px);
}

/* Email template modal - wider for editor */
.aacs-email-template-modal-box {
    width: 880px;
    max-width: 95vw;
}

/* Email template preview modal */
.aacs-email-template-preview-modal-box {
    width: 700px;
    max-width: 95vw;
}

.aacs-email-preview-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.aacs-preview-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aacs-preview-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
}

.aacs-preview-value {
    font-size: 14px;
    color: #111827;
}

.aacs-preview-value.aacs-preview-status-on {
    color: #16a34a;
    font-weight: 600;
}

.aacs-preview-value.aacs-preview-status-off {
    color: #dc2626;
    font-weight: 600;
}

.aacs-preview-value.aacs-log-status-sent {
    color: #16a34a;
    font-weight: 600;
}

.aacs-preview-value.aacs-log-status-pending {
    color: #f59e0b;
    font-weight: 600;
}

.aacs-preview-value.aacs-log-status-failed {
    color: #dc2626;
    font-weight: 600;
}

.aacs-preview-value.aacs-log-error {
    color: #dc2626;
    background: #fef2f2;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
    font-size: 13px;
}

.aacs-email-log-preview-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.aacs-email-preview-content {
    margin-top: 16px;
}

.aacs-preview-content-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 10px;
}

.aacs-preview-content-frame {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.aacs-preview-content-frame h1,
.aacs-preview-content-frame h2 {
    margin-top: 0;
}

.aacs-preview-content-frame a {
    color: #2563eb;
}

/* Grid */
.aacs-admin-email-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .aacs-admin-email-grid {
        grid-template-columns: 1fr;
    }
}

/* Email Card */
.aacs-admin-email-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aacs-admin-email-card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.aacs-admin-email-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.aacs-admin-email-card p {
    font-size: 14px;
    color: #6b7280;
}

/* Icon */
.aacs-admin-email-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #dbeafe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aacs-admin-email-icon svg {
    width: 22px;
    height: 22px;
}

/* Actions */
.aacs-admin-email-actions {
    display: flex;
    gap: 12px;
}

/* Bulk email box */
.aacs-admin-email-bulk {
    margin-top: 32px;
    padding: 24px;
    border-radius: 16px;
    background: #eff6ff;
    border: 2px solid #bfdbfe;
}

.aacs-admin-email-bulk h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}


/******************************************************/
/* AACS – Admin Logs                                  */
/******************************************************/

.aacs-admin-logs {
    margin-top: 32px;
}

/* Filters */
.aacs-admin-log-filters {
    margin-bottom: 24px;
}

/* Badge */
.aacs-admin-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.aacs-admin-badge.blue {
    background: #dbeafe;
    color: #1e40af;
}

.aacs-admin-badge.green {
    background: #dcfce7;
    color: #166534;
}

.aacs-admin-badge.purple {
    background: #ede9fe;
    color: #5b21b6;
}

.aacs-admin-badge.gray {
    background: #f3f4f6;
    color: #374151;
}

.aacs-admin-badge.red {
    background: #fee2e2;
    color: #991b1b;
}

/* Table tweaks */
.aacs-admin-table td span {
    display: block;
    font-size: 12px;
    color: #6b7280;
}

.aacs-admin-table td strong {
    display: block;
    font-size: 14px;
    color: #111827;
}

.aacs-admin-table td.muted {
    color: #6b7280;
}

/* Status badge */
.aacs-admin-table .status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.aacs-admin-table .status.ativo {
    background: #dcfce7;
    color: #166534;
}

.aacs-admin-table .status.inadimplente {
    background: #fee2e2;
    color: #991b1b;
}

.aacs-admin-table .status.pendente {
    background: #dbeafe;
    color: #1d4ed8;
}

.aacs-admin-table .status.inativo {
    background: #fef3c7;
    color: #92400e;
}

.aacs-admin-table .status.desligado {
    background: #f3f4f6;
    color: #374151;
}

.aacs-admin-table .status.cancelado {
    background: #fee2e2;
    color: #991b1b;
}

.aacs-admin-table .expired {
    display: block;
    font-size: 13px;
    color: #111827;
}

/* Actions */
.aacs-admin-table td:last-child {
    width: 120px;
    white-space: nowrap;
}

.aacs-admin-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.aacs-admin-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f9fafb;
    transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.aacs-admin-actions a:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

.aacs-admin-actions a.blue {
    color: var(--blue);
}

.aacs-admin-actions a.green {
    color: var(--green);
}

.aacs-admin-actions a.purple {
    color: var(--purple);
}

/* Pagination */
.aacs-admin-pagination-actions {
    display: flex;
    gap: 8px;
}

.aacs-admin-pagination-actions button.active {
    background: #111827;
    color: #fff;
}

/* Export */
.aacs-admin-export {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

/******************************************************/
/* AACS – Admin Relatórios                            */
/******************************************************/

.aacs-admin-relatorios {
    margin-top: 32px;
}

/* Grid */
.aacs-admin-relatorios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

/* Report Card */
.aacs-admin-report-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aacs-admin-report-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.aacs-admin-report-card p {
    font-size: 14px;
    color: #6b7280;
}

/* Color Variants */
.aacs-report.blue {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.aacs-report.green {
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.aacs-report.yellow {
    background: #fffbeb;
    border-color: #fde68a;
}

.aacs-report.red {
    background: #fef2f2;
    border-color: #fecaca;
}

.aacs-report.purple {
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.aacs-report.gray {
    background: #f9fafb;
    border-color: #e5e7eb;
}

/* Button */
.aacs-admin-dark-btn {
    margin-top: auto;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.aacs-admin-dark-btn:hover {
    background: #1f2937;
}

/* Custom Report */
.aacs-admin-custom-report h3 {
    margin-bottom: 16px;
}


/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Print */
@media print {

    .header-portal,
    .btn,
    button {
        display: none !important;
    }
}




.aacs-card-quick-membership svg.aacs-mt-3 {
    color: #b1b1b1;
}

.aacs-card-green svg.aacs-mt-3,
.aacs-card-yellow svg.aacs-mt-3 {
    color: #b1b1b1;
}

.aacs-card .aacs-title-md {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
}

.aacs-card ul.aacs-list {
    padding-left: 25px;
}

.aacs-card ul.aacs-list li::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: #5064b4;
    left: -20px;
    top: 7px;
}

.aacs-card ul.aacs-list li {
    position: relative;
    font-size: 16px;
}

.aacs-dashboard .aacs-grid-span-2 .aacs-card {
    box-shadow: 0 0 3px 0 #0000002e;
}

.aacs-card ul.aacs-list li::marker {
    font-size: 22px;
    margin-right: 0 !important;
    text-align-last: unset !important;
}

.aacs-dashboard .aacs-grid .aacs-card {
    height: 100%;
}

.aacs-dashboard .aacs-grid .aacs-sidebar .aacs-card {
    height: fit-content;
    margin-bottom: 20px;
}

.aacs-dashboard .aacs-grid .aacs-sidebar .aacs-card:last-child {
    margin-bottom: 0;
    border: 2px solid #d3d4d9;
}

.aacs-dashboard .aacs-grid .aacs-sidebar .aacs-card-blue {
    background: #eff1f9 !important;
}

.aacs-dashboard .aacs-grid .aacs-sidebar .aacs-card-blue button.aacs-btn {
    margin-top: 10px;
    background: #e9eaee;
    color: #2c3079;
}

.aacs-dashboard .aacs-grid .aacs-sidebar a.aacs-btn.aacs-btn-secondary {
    width: 100%;
    background: #d3d4d9;
    margin-top: 15px;
    padding: 7px;
    color: #010d0d;
}

.aacs-desassociacao {
    max-width: 896px;
    margin: auto;
}

.aacs-desassociacao .aacs-icon-circle {
    width: 50px;
    height: 50px;
    border: 0;
}

.aacs-desassociacao .aacs-alert-info {
    background: #eff1f9;
    border-color: #b9c1e1;
    border-width: 2px;
}

.aacs-desassociacao .aacs-option-card .aacs-icon-box {
    height: fit-content;
}

.aacs-desassociacao .aacs-option-card .aacs-icon-box svg.aacs-svg {
    color: #c10007;
}

.aacs-desassociacao .aacs-option-card {
    background: #fff;
}

.aacs-desassociacao .aacs-option-card .aacs-option-body {
    background: #fff7ed;
    padding: 20px;
    border-radius: 10px;
}

.aacs-desassociacao .aacs-option-card .aacs-option-body ul {
    padding-left: 0;
}

.aacs-desassociacao .aacs-option-card .aacs-btn-block {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 16px;
    font-weight: 400 !important;
}

.aacs-desassociacao .aacs-option-warning svg.aacs-svg {
    color: #ca3500;
}

.aacs-desassociacao .aacs-option-warning ul.aacs-list-check li,
.aacs-option-warning ul.aacs-list-check li strong {
    color: #9f2d00 !important;
    font-size: 14px;
}

.aacs-desassociacao .aacs-option-warning .aacs-option-body>strong {
    color: #9f2d00;
    font-size: 16px;
}

.aacs-desassociacao .aacs-option-warning ul.aacs-list-check li::before {
    filter: brightness(0) saturate(100%) invert(18%) sepia(77%) saturate(2347%) hue-rotate(7deg) brightness(99%) contrast(103%);
}

.aacs-desassociacao .aacs-option-danger .aacs-option-body {
    background: #fef2f2;
}

.aacs-desassociacao .aacs-option-danger .aacs-option-body strong {
    color: #82181a;
    font-size: 16px;
}

.aacs-desassociacao .aacs-option-danger .aacs-option-body ul li {
    color: #9f0712 !important;
}

.aacs-desassociacao .aacs-footer-note {
    background: #F9F9Fa;
    border: 1px solid #d3d4d9;
}

.aacs-desassociacao .aacs-alert-info a.aacs-contact-link {
    background: #E9EAEE;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 400;
    color: #2c3079;
    border-radius: 5px;
}

.aacs-desassociacao h3.aacs-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.aacs-desassociacao .aacs-option-card h4 {
    font-size: 20px;
}

.aacs-desassociacao .aacs-footer-note strong,
.aacs-desassociacao .aacs-footer-note p {
    font-size: 16px;
}

.aacs-section-header h2.aacs-title.aacs-title-md {
    font-size: 30px;
}

.aacs-desassociacao .aacs-alert-info h4.aacs-title.aacs-title-sm {
    font-size: 20px;
}

.aacs-desassociacao .aacs-alert-info p {
    font-size: 16px;
}

.carteirinha-dashboard-container {
    max-width: 768px;
    margin: auto;
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0px 1px 1px 1px #01010114;
}

.carteirinha-dashboard-container .aacs-card-wrapper {
    max-width: 512px;
}

.carteirinha-dashboard-container .aacs-carteirinha-v2 {
    border-radius: 16px;
}

.carteirinha-dashboard-container button#aacs-btn-baixar-pdf {
    background: #5064b4;
    font-size: 16px;
    font-weight: 400;
}

.carteirinha-dashboard-container button#aacs-btn-baixar-pdf svg.aacs-svg {
    color: #fff;
}

.carteirinha-dashboard-container .aacs-card-wrapper .aacs-carteirinha-info strong {
    color: #fff;
    font-weight: 400;
    font-size: 16px;
}

.carteirinha-dashboard {
    max-width: 768px;
    margin: auto;
}

.carteirinha-dashboard-container .aacs-carteirinha-info span {
    font-size: 16px;
}

.carteirinha-dashboard-container .aacs-carteirinha-bottom {
    background: linear-gradient(45deg, #3d4f9a, #5064b4, #7383c3);
}

.carteirinha-dashboard-container .aacs-carteirinha-top h3 {
    font-size: 24px;
}

.carteirinha-dashboard-container .aacs-carteirinha-top span {
    font-size: 16px;
}

.carteirinha-dashboard-container .aacs-carteirinha-top .aacs-carteirinha-logo {
    background: #dce0f0;
    border: 0;
}

.carteirinha-dashboard-container .aacs-carteirinha-top .aacs-carteirinha-logo svg.aacs-svg {
    width: 28px;
    height: 28px;
    stroke: #2c3079 !important;
}


.carteirinha-dashboard-container .aacs-usage h4.aacs-usage-title {
    font-size: 20px;
}

.carteirinha-dashboard-container .aacs-usage strong {
    font-size: 18px;
}

.carteirinha-dashboard-container .aacs-usage strong p {
    font-size: 16px;
}

.aacs-container div#aacs-contact-modal .aacs-modal-box {
    max-width: 32rem;
    margin: auto;
}

.aacs-container div#aacs-contact-modal .aacs-modal-box h2 {
    font-size: 24px;
}

.aacs-container div#aacs-contact-modal .aacs-modal-box .aacs-modal-body {
    padding: 20px;
}

.aacs-container div#aacs-contact-modal .aacs-modal-box .aacs-modal-body .aacs-modal-footer {
    padding-left: 0;
    padding-right: 0;
}

.aacs-container div#aacs-contact-modal .aacs-modal-box .aacs-modal-body .aacs-modal-footer button.aacs-btn {
    width: 50%;
    padding: 14px;
    font-size: 16px;
}

.aacs-container div#aacs-contact-modal .aacs-modal-box .aacs-modal-body .aacs-modal-footer .aacs-contact-cancel {
    background: transparent;
    border: 1px solid #bdbec4;
}

.aacs-container div#aacs-contact-modal .aacs-modal-box .aacs-modal-body .aacs-modal-footer .aacs-contact-submit {
    background: #5064b4;
}

.aacs-dashboard .aacs-grid .aacs-card.aacs-card-green svg.aacs-mb-3 {
    color: #2e5125;
}

.aacs-dashboard .aacs-grid .aacs-card.aacs-card-yellow svg.aacs-mb-3 {
    color: #7f7d15;
}

.aacs-dashboard .aacs-grid .aacs-card.aacs-card svg.aacs-mb-3 {
    width: 32px !important;
    height: 32px !important;
    font-size: 32px !important;
}

.aacs-dashboard .aacs-grid .aacs-sidebar .aacs-card h4.aacs-title.aacs-title-sm {
    font-size: 20px;
}

.aacs-container div#aacs-contact-modal .aacs-modal-box .aacs-form-field {
    margin-bottom: 0px;
}


.aacs-dashboard .aacs-grid .aacs-sidebar .aacs-card:last-child h4.aacs-title.aacs-title-sm {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aacs-dashboard .aacs-grid .aacs-sidebar .aacs-card:last-child h4.aacs-title.aacs-title-sm svg {
    color: #8e8e8e;
}

.aacs-dashboard .aacs-status-card {
    display: flex;
    gap: 15px;
}

.aacs-dashboard .aacs-status-card .aacs-status-icon svg {
    width: 32px;
    height: 32px;
    color: #010d0d;
    margin-top: 5px;
}


.aacs-myaccount-dashboard {
    max-width: 896px;
    margin: auto;
}

.aacs-myaccount-dashboard a.aacs-back-link {
    color: #8e8e8e;
}

.aacs-myaccount-dashboard a.aacs-back-link svg {
    color: #8e8e8e;
}

.aacs-myaccount-dashboard .aacs-section-header {
    align-items: center;
}

.aacs-myaccount-dashboard .aacs-section-header .aacs-icon-circle {
    width: 50px;
    height: 50px;
    background: #dce0f0;
}

.aacs-myaccount-dashboard .aacs-section-header .aacs-icon-circle svg {
    color: #2c3079;
    width: 28px;
    height: 28px;
}

.aacs-myaccount-dashboard section.aacs-form-section h3 {
    font-size: 24px;
}

.aacs-myaccount-dashboard section.aacs-form-section:nth-child(3) {
    background: #f9f9fa;
    padding: 25px;
    border: 1px solid #d3d4d9;
    border-radius: .725rem;
}

.aacs-myaccount-dashboard section.aacs-form-section .aacs-card {
    background: #f9f9fa;
}

.aacs-myaccount-dashboard section.aacs-form-section h3.aacs-form-title {
    margin-bottom: 10px;
}

.aacs-myaccount-dashboard section.aacs-form-section:nth-child(3) .aacs-card {
    padding: 0;
}

.aacs-myaccount-dashboard section.aacs-form-section:nth-child(3) .aacs-card a.aacs-btn.aacs-btn-primary {
    margin-top: 10px;
    background: #5064b4;
    padding: 10px 24px;
    color: #fff;
}

.aacs-myaccount-dashboard section.aacs-form-section:nth-child(2) {
    margin-bottom: 0;
}

.aacs-myaccount-dashboard section.aacs-form-section:nth-child(3) h3 {
    font-size: 20px;
    border: 0;
    margin-bottom: 0;
}


.aacs-myaccount-dashboard .aacs-card.aacs-card-lg {
    box-shadow: 0px 1px 1px 1px #01010114;
}


.aacs-myaccount-dashboard .aacs-form-actions button.aacs-btn.aacs-btn-primary {
    width: 50%;
    padding: 12px;
    font-size: 16px;
    background: #5064b4;
    color: #fff;
}

.aacs-myaccount-dashboard .aacs-form-actions button.aacs-btn.aacs-btn-primary svg.aacs-svg {
    color: #fff;
    margin-right: 10px;
}

.aacs-myaccount-dashboard section.aacs-form-section label {
    color: #7A7A7A;
}

.aacs-admin-dashboard .aacs-admin-dashboard-grid {
    display: flex;
}

.aacs-admin-dashboard .aacs-admin-dashboard-grid .aacs-admin-dashboard-section {
    width: 65%;
}

.aacs-admin-dashboard .aacs-admin-dashboard-grid .aacs-admin-dashboard-financial {
    width: 35%;
    gap: 0;
}

.aacs-admin-dashboard .aacs-admin-dashboard-grid .aacs-admin-dashboard-section .aacs-admin-stats {
    grid-template-columns: 1fr 1fr;
}

.aacs-admin-dashboard .aacs-admin-dashboard-grid .aacs-admin-dashboard-section .aacs-admin-stats .aacs-admin-stat-card {
    flex-direction: column;
    padding: 17px;
    position: relative;
}

.aacs-admin-dashboard .aacs-admin-dashboard-grid .aacs-admin-dashboard-section .aacs-admin-stats .aacs-admin-stat-card .aacs-admin-stat-value {
    font-weight: 500;
}

.aacs-admin-dashboard .aacs-admin-dashboard-grid .aacs-admin-dashboard-financial .aacs-admin-stat-revenue {
    margin-bottom: 25px;
}


.aacs-change-password .aacs-change-wrapper {
    margin-top: 0;
    max-width: 42rem;
}

.aacs-change-password .aacs-container {
    padding-top: 0;
}

.aacs-change-password .aacs-container .aacs-change-icon {
    background: #dce0f0;
}

.aacs-change-password .aacs-container .aacs-change-icon svg {
    color: #2c3079;
}

.aacs-change-password .aacs-change-wrapper .aacs-change-section-title {
    font-size: 24px;
    margin-bottom: 0;
}

.aacs-change-password .aacs-change-wrapper label {
    font-size: 16px;
}

.aacs-change-password .aacs-change-wrapper .aacs-change-actions .aacs-btn {
    width: 50%;
    padding: 15px;
    font-size: 16px;
}

.aacs-change-password .aacs-change-wrapper .aacs-change-actions a.aacs-btn {
    background: transparent;
    border: 1px solid #bdbec4;
}

.aacs-change-password .aacs-change-wrapper .aacs-change-actions button.aacs-btn {
    background: #5064b4;
}

.aacs-change-password .aacs-change-wrapper .aacs-change-info *,
.aacs-change-password .aacs-change-wrapper .aacs-change-footer-card * {
    color: #2c3079 !important;
}

.aacs-change-password .aacs-change-wrapper .aacs-change-info strong {
    font-weight: 400 !important;
    margin-bottom: 0;
}

.aacs-change-password .aacs-change-wrapper .aacs-change-footer-card strong {
    margin-bottom: 0;
    font-size: 20px;
    color: #1d214d !important;
}

.aacs-change-password .aacs-change-wrapper .aacs-change-footer-card ul {
    margin-top: 0;
}



/* admin dashboard css start */
.aacs-admin-dashboard h1 {
    font-size: 36px;
    color: #3e3e3e;
}

.aacs-admin-dashboard h2.aacs-admin-dashboard-section-title {
    color: #3e3e3e;
    font-size: 30px;
    font-weight: 600;
}

.aacs-admin-dashboard p {
    font-size: 16px;
}

.aacs-admin-dashboard .aacs-admin-stat.aacs-admin-stat-revenue {
    background: linear-gradient(to bottom right, #ECFDF5, #D1FAE5);
    border: 1px solid #b9f8cf;
    box-shadow: none;
    padding: 15px;
}

.aacs-admin-dashboard .aacs-admin-stat.aacs-admin-stat-revenue .aacs-admin-stat-revenue-icon {
    background: #00a63e;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    padding: 0;
}

.aacs-admin-dashboard .aacs-admin-stat.aacs-admin-stat-revenue .aacs-admin-stat-revenue-icon svg {
    width: 22px;
    height: 22px;
}

.aacs-admin-dashboard .aacs-admin-stat.aacs-admin-stat-revenue .aacs-admin-stat-label {
    color: #016630;
    margin-bottom: 0;
}

.aacs-admin-dashboard .aacs-admin-stat.aacs-admin-stat-revenue .aacs-admin-stat-value {
    color: #3e3e3e;
    font-weight: 500;
}

.aacs-admin-dashboard .aacs-admin-stat.aacs-admin-stat-revenue .aacs-admin-stat-extra {
    color: #00a63e;
}

.aacs-admin-dashboard .aacs-admin-stat .aacs-admin-stat-revenue-inner {
    flex-direction: column;
}

.aacs-admin-dashboard .aacs-admin-stat .aacs-admin-stat-revenue-inner .aacs-admin-stat-icon-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.aacs-admin-dashboard .aacs-admin-stat.aacs-admin-stat-revenue .aacs-admin-stat-extra span.aacs-trend-icon.aacs-trend-up {
    color: #00a63e !important;
}

.aacs-admin-dashboard .aacs-admin-dashboard-grid .aacs-admin-dashboard-section .aacs-admin-stats .aacs-admin-stat-card span.aacs-admin-stat-trend {
    position: absolute;
    right: 12px;
    top: 22px;
}

.aacs-admin-emails .aacs-admin-email-stats .aacs-admin-stat-icon {
    background: transparent;
    padding: 0;
    width: fit-content;
    height: fit-content;
}

.aacs-admin-emails .aacs-admin-email-stats .aacs-admin-stat-icon svg {
    width: 32px;
    height: 32px;
}

.aacs-admin-emails .aacs-admin-email-stats .aacs-admin-stat {
    border-radius: 10px;
}

.aacs-admin-emails .aacs-admin-email-stats .aacs-admin-stat .aacs-admin-stat-value {
    font-weight: 400;
    font-size: 16px;
}

.aacs-admin-emails .aacs-admin-email-stats .aacs-admin-stat .aacs-admin-stat-label {
    font-size: 16px;
    color: #8e8e8e;
    font-weight: 400;
}

.aacs-admin-emails .aacs-admin-email-stats .aacs-admin-stat:last-child svg {
    color: #f0b100;
}

.aacs-admin-emails .aacs-admin-email-tabs {
    background: #fff;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.aacs-admin-emails .aacs-admin-email-tabs .aacs-admin-card {
    border: none;
}

.aacs-admin-emails .aacs-admin-email-tabs div#tab-logs {
    padding-left: 24px;
    padding-right: 24px;
}

.aacs-admin-emails .aacs-admin-email-tabs div#tab-templates {
    padding-left: 24px;
    padding-right: 24px;
}

.aacs-admin-emails .aacs-admin-email-tabs div#tab-templates .aacs-admin-toggle-input:checked+.aacs-admin-toggle-slider {
    background: #3e3e3e;
}

.aacs-admin-emails .aacs-admin-email-tabs div#tab-templates .aacs-admin-actions svg {
    color: #8e8e8e;
}

.aacs-admin-emails .aacs-admin-email-tabs div#tab-templates .aacs-admin-actions .aacs-send-test-btn:hover svg {
    color: #2563eb;
}

.aacs-admin-emails .aacs-admin-email-tabs div#tab-templates a.aacs-admin-email-settings-btn {
    background: #3e3e3e;
    padding: 14px;
}

.aacs-admin-emails .aacs-admin-email-tabs td {
    font-size: 14px;
}


.aacs-admin-emails .aacs-admin-email-tabs div#tab-logs .aacs-admin-email-search {
    border-color: #bdbec4;
}

.aacs-admin-emails .aacs-admin-email-tabs div#tab-logs select.aacs-admin-email-status-filter {
    border-color: #bdbec4;
}

.aacs-admin-emails .aacs-admin-email-tabs div#tab-logs button {
    background: #155dfc;
    font-weight: 500;
}

nav.aacs-admin-header .aacs-user div#aacs-open-perfil-modal {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.aacs-main .aacs-relatorios {
    max-width: 100%;
}

.aacs-main .aacs-relatorios form#aacs-relatorios-filters-form {
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid #d3d4d9;
    margin-top: 35px;
}

.aacs-main .aacs-relatorios div#aacs-relatorios-cards .aacs-relatorios-card {
    border: 1px solid #d3d4d9;
}

.aacs-main .aacs-relatorios div#aacs-relatorios-cards .aacs-relatorios-card span.aacs-relatorios-card-trend {
    top: 30px;
    font-size: 14px;
}

.aacs-main .aacs-relatorios div#aacs-relatorios-cards .aacs-relatorios-card .aacs-relatorios-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.aacs-main .aacs-relatorios div#aacs-relatorios-cards .aacs-relatorios-card .aacs-relatorios-card-icon svg {
    width: 24px;
    height: 24px;
}

.aacs-main .aacs-relatorios div#aacs-relatorios-cards .aacs-relatorios-card p.aacs-relatorios-card-value {
    font-weight: 400;
    font-size: 30px;
}

.aacs-main .aacs-relatorios div#aacs-relatorios-cards .aacs-relatorios-card p.aacs-relatorios-card-label {
    margin-top: 8px;
    color: #8e8e8e;
    font-size: 14px;
}

.aacs-main .aacs-relatorios div#aacs-relatorios-cards .aacs-relatorios-card p.aacs-relatorios-card-extra {
    font-size: 12px;
    color: #b1b1b1;
}

.aacs-main .aacs-relatorios .aacs-chart-card {
    border: 1px solid #d3d4d9;
}

.aacs-main .aacs-relatorios .aacs-chart-card h3 {
    font-size: 24px;
    color: #3e3e3e;
}

.aacs-main .aacs-relatorios .aacs-revenue-summary-card {
    border: 1px solid #d3d4d9;
}

.aacs-main .aacs-relatorios .aacs-revenue-summary-card p.aacs-revenue-summary-title {
    font-size: 24px;
    font-weight: 600;
    color: #3e3e3e;
    margin-bottom: 10px;
}

.aacs-main .aacs-relatorios .aacs-revenue-summary-card p.aacs-revenue-summary-value {
    font-weight: 500;
}

.aacs-main .aacs-relatorios .aacs-revenue-summary-card p.aacs-revenue-summary-extra {
    font-size: 12px;
    margin-top: 12px;
    color: #B1B1B1;
}

.aacs-main .aacs-relatorios h1 {
    font-size: 36px;
}

.aacs-main .aacs-relatorios p {
    font-size: 16px;
}

.aacs-main .aacs-relatorios form#aacs-relatorios-filters-form select#aacs-period,
.aacs-main .aacs-relatorios form#aacs-relatorios-filters-form select#aacs-view {
    padding: 8px 16px;
    font-size: 16px;
}

.aacs-main .aacs-relatorios form#aacs-relatorios-filters-form button#aacs-export-csv-btn {
    background: #3e3e3e;
    padding: 8px 16px;
    font-size: 16px;
}

.aacs-admin-associados .aacs-admin-filters-grid {
    display: flex;
    justify-content: space-between;
}

.aacs-admin-associados .aacs-admin-filters-grid .aacs-admin-field:first-child {
    width: 68%;
}

.aacs-admin-associados .aacs-admin-filters-grid .aacs-admin-field {
    width: 22%;
    position: relative;
}

.aacs-admin-associados .aacs-admin-filters-grid button#exportUsers {
    background: #3e3e3e;
    font-size: 16px;
    font-weight: 500;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 25px;
    padding-right: 25px;
}

.aacs-admin-associados .aacs-admin-filters-grid .aacs-admin-field select#statusFilter {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 40px;
    -webkit-appearance: none;
}

.aacs-admin-associados .aacs-admin-associados-stats .aacs-admin-mini-stat.green {
    background: #f0fdf4;
    border: 1px solid #b9f8cf;
    border-radius: 10px;
}

.aacs-admin-associados .aacs-admin-associados-stats .aacs-admin-mini-stat {
    box-shadow: none;
    border: 1px solid #d3d4d9;
}

.aacs-admin-associados .aacs-admin-associados-stats .aacs-admin-mini-stat.blue {
    background: #eff6ff;
    border-color: #bedbff;
}

.aacs-admin-associados .aacs-admin-associados-stats .aacs-admin-mini-stat.gray {
    border-color: #fff085;
    background: #fefce8;
}

.aacs-admin-associados .aacs-admin-associados-stats .aacs-admin-mini-stat.red {
    border-color: #ffc9c9;
    background: #fef2f2;
}

.aacs-admin-associados .aacs-admin-associados-stats .aacs-admin-mini-stat.red span {
    color: #c10007;
}

.aacs-admin-associados .aacs-admin-associados-stats .aacs-admin-mini-stat.gray span,
.aacs-admin-associados .aacs-admin-associados-stats .aacs-admin-mini-stat.gray strong {
    color: #a65f00;
}

.aacs-admin-associados .aacs-admin-associados-stats .aacs-admin-mini-stat.blue span {
    color: #1447e6;
}

.aacs-admin-associados .aacs-admin-associados-stats .aacs-admin-mini-stat.green span {
    color: #008236;
}

.aacs-admin-associados .aacs-admin-associados-stats .aacs-admin-mini-stat strong {
    font-weight: 200;
}

.aacs-admin-header div#navbarSupportedContent {
    justify-content: center;
}

.aacs-admin-header div#navbarSupportedContent a.aacs-link.nav-link.active {
    color: #fff;
    background-color: #3e3e3e;
}

.aacs-admin-header div#navbarSupportedContent a.dropdown-toggle.nav-link.active {
    color: #fff;
    background-color: #3e3e3e;
    border-radius: 10px;
}

.aacs-admin-header div#navbarSupportedContent li.nav-item.dropdown svg {
    width: 18px;
    height: 18px;
}

.aacs-admin-header div#navbarSupportedContent ul.navbar-nav {
    gap: 15px;
}

.aacs-admin-container .aacs-admin-header {
    width: 100%;
}

.aacs-admin-header div#navbarSupportedContent a.nav-link.dropdown-toggle::after {
    display: none;
}

.aacs-admin-header div#navbarSupportedContent li.nav-item.dropdown.is-active .dropdown-menu.aacs-dropdown-menu.sub-active {
    display: block;
    z-index: 99999 !important;
    border-radius: 10px;
}

.aacs-admin-header div#navbarSupportedContent li.nav-item.dropdown.is-active .dropdown-menu.aacs-dropdown-menu.sub-active .aacs-dropdown-item {
    gap: 8px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.aacs-admin-header div#navbarSupportedContent li.nav-item.dropdown.is-active .dropdown-menu.aacs-dropdown-menu.sub-active .aacs-dropdown-item.disabled {
    background: #fff;
}

.aacs-admin-header div#navbarSupportedContent li.nav-item.dropdown.is-active .dropdown-menu.aacs-dropdown-menu.sub-active a.aacs-dropdown-item:hover {
    color: currentColor;
}

.aacs-admin-header div#navbarSupportedContent li.nav-item.dropdown.is-active a.nav-link.dropdown-toggle svg:last-child {
    transform: rotate(180deg);
}

.aacs-admin-emails .aacs-admin-email-tabs button.aacs-admin-action-btn {
    background: #f9fafb !important;
}

.aacs-admin-recent-activity-card .aacs-recent-activity-left {
    width: 40%;
}

.aacs-admin-recent-activity-card .aacs-recent-activity-center {
    width: 40%;
    text-align: center;
}

.aacs-admin-recent-activity-card .aacs-recent-activity-right {
    width: 20%;
    text-align: right;
    display: flex;
    justify-content: end;
}

.aacs-admin-recent-activity-card .aacs-recent-activity-center span {
    font-size: 14px;
    color: #8e8e8e;
}

.aacs-admin-recent-activity-card .aacs-recent-activity-center svg {
    width: 14px;
    color: #8e8e8e;
}

.aacs-admin-recent-activity-card .aacs-recent-activity-right a {
    color: #7a7a7a;
    border: 1px solid #bdbec4;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 14px;
}

.aacs-recent-activity-item:hover {
    background: #f9f9fa;
}

.aacs-admin-recent-activity-card .aacs-recent-activity-right a:hover {
    background: #e9eaee;
}

.aacs-admin-recent-activity-card {
    padding: 0;
}

.aacs-admin-recent-activity-card .accs-recent-activity-head {
    padding: 24px;
}

.aacs-admin-recent-activity-card .aacs-recent-activity-item {
    padding-left: 24px;
    padding-right: 24px;
    align-items: center;
}

.aacs-admin-recent-activity-card .aacs-recent-activity-item span.aacs-activity-status.yellow {
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 400;
    border: 1px solid #fff085;
    background: #fef9c2;
    border-radius: 100px;
    margin-left: 12px;
}

.aacs-admin-recent-activity-card .aacs-recent-activity-item span.aacs-activity-status.green {
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 400;
    border: 1px solid #b9f8cf;
    background: #dcfce7;
    border-radius: 100px;
    margin-left: 12px;
    color: #016630;
}

.aacs-admin-recent-activity-card .accs-recent-activity-head h3.aacs-recent-activity-title {
    margin-bottom: 10px;
    font-size: 30px;
}

.aacs-admin-recent-activity-card .accs-recent-activity-head p.aacs-recent-activity-subtitle {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
}

.aacs-admin-recent-activity-card .accs-recent-activity-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aacs-admin-associados .aacs-admin-filters-grid .aacs-admin-field svg {
    position: absolute;
    top: 14px;
    left: 10px;
    color: #c6c6c6;
    width: 20px;
    height: 20px;
}

div#aacs-member-modal {
    background: rgb(0 0 0 / 50%);
}

div#aacs-member-modal .aacs-modal-box {
    max-width: 880px;
    width: 100%;
    position: relative;
}

div#aacs-member-modal .aacs-modal-box h2 {
    font-size: 30px;
}

div#aacs-member-modal .aacs-modal-box p {
    font-size: 16px;
}

div#aacs-member-modal .aacs-modal-box section.aacs-section h3 {
    font-size: 24px;
    margin-bottom: 0;
}

div#aacs-member-modal .aacs-modal-box section.aacs-section h3 svg.aacs-svg {
    width: 16px;
    height: 16px;
}

div#aacs-member-modal .aacs-modal-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 50%;
    max-width: 880px;
    margin: auto;
    transform: translateX(-50%);
    background: #f9f9fa;
}

div#aacs-member-modal .aacs-modal-footer .aacs-register-btn {
    width: 85% !important;
    height: 45px !important;
    font-size: 16px !important;
    background: #3e3e3e !important;
}

div#aacs-member-modal .aacs-modal-footer button.aacs-btn {
    width: 15%;
    background: transparent;
    font-size: 16px;
    border: 1px solid #bdbec4;
    height: 45px;
}

div#aacs-member-modal .aacs-modal-footer button.aacs-btn:hover {
    background: #e9eaee;
}

div#aacs-member-modal .aacs-modal-box .aacs-modal-body {
    padding-bottom: 70px;
}

div#aacs-member-details-modal h2#aacs-member-details-name {
    font-size: 30px;
}

div#aacs-member-details-modal p#aacs-member-details-registration {
    font-size: 16px;
}

div#aacs-member-details-modal h3 {
    font-size: 24px;
}

div#aacs-member-details-modal h3 svg.aacs-svg {
    width: 18px;
    height: 18px;
}

div#aacs-member-details-modal {
    background-color: rgb(0 0 0 / 50%);
}

div#aacs-member-details-modal .aacs-modal-footer button#aacs-member-edit-btn {
    width: 40%;
    background: #3e3e3e;
    font-size: 16px;
}

div#aacs-member-details-modal .aacs-modal-footer button.aacs-btn.aacs-btn-outline {
    width: 40%;
    border-color: #bdbec4;
    color: #7a7a7a;
    font-size: 16px;
}

div#aacs-member-details-modal .aacs-modal-footer button.aacs-btn.aacs-btn-secondary.aacs-close,
#aacs-payment-edit-form .aacs-close {
    width: 20%;
    border: 1px solid #bdbec4;
    color: #7a7a7a;
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
}

div#aacs-member-details-modal .aacs-modal-footer button.aacs-btn.aacs-btn-outline:hover {
    background: #e9eaee;
}

div#aacs-member-details-modal .aacs-modal-footer button.aacs-btn.aacs-btn-secondary.aacs-close:hover {
    background: #e9eaee;
}

div#aacs-member-payments-modal .aacs-modal-box.aacs-payments-modal-box {
    max-width: 896px;
    width: 100%;
}

div#aacs-member-payments-modal .aacs-modal-box.aacs-payments-modal-box h2 {
    font-size: 30px;
}

div#aacs-member-payments-modal .aacs-modal-box p#aacs-payments-member-subtitle {
    font-size: 16px;
}

div#aacs-member-payments-modal .aacs-modal-box.aacs-payments-modal-box .aacs-payments-summary-card {
    text-align: left;
}

div#aacs-member-payments-modal .aacs-modal-box.aacs-payments-modal-box .aacs-payments-summary-card span#aacs-payments-total-count {
    font-size: 24px;
    color: #3e3e3e;
    border-color: #d3d4d9;
}

div#aacs-member-payments-modal .aacs-modal-body.aacs-payments-body {
    background: #f9f9fa;
}

div#aacs-member-payments-modal .aacs-modal-box.aacs-payments-modal-box .aacs-payments-summary-card.aacs-payments-summary-card--green {
    background: #f0fdf4;
    border-color: #b9f8cf;
}

div#aacs-member-payments-modal .aacs-modal-box.aacs-payments-modal-box .aacs-payments-summary-card.aacs-payments-summary-card--blue {
    background: #eff6ff;
    border-color: #bedbff;
}

div#aacs-member-payments-modal .aacs-modal-box.aacs-payments-modal-box .aacs-payments-summary-card.aacs-payments-summary-card--blue span.aacs-payments-summary-label {
    color: #1447e6;
}

div#aacs-member-payments-modal .aacs-modal-box.aacs-payments-modal-box .aacs-payments-summary-card.aacs-payments-summary-card--blue span#aacs-payments-total-paid {
    color: #1447e6;
    font-size: 24px;
}

div#aacs-member-payments-modal .aacs-modal-box.aacs-payments-modal-box .aacs-payments-summary-card.aacs-payments-summary-card--green span.aacs-payments-summary-label {
    color: #008236;
}

div#aacs-member-payments-modal .aacs-modal-box.aacs-payments-modal-box .aacs-payments-summary-card.aacs-payments-summary-card--green span#aacs-payments-completed-count {
    color: #008236;
    font-size: 24px;
}

div#aacs-member-payments-modal .aacs-modal-footer button.aacs-btn.aacs-btn-secondary {
    font-size: 16px;
    width: 100%;
    border: 1px solid #bdbec4;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #7a7a7a;
}

div#aacs-email-log-preview-modal .aacs-modal-box {
    max-width: 768px;
    width: 100%;
}

div#aacs-email-log-preview-modal .aacs-modal-box h2 {
    font-size: 30px;
}

div#aacs-email-log-preview-modal .aacs-modal-box .aacs-modal-footer button.aacs-btn.aacs-btn-secondary.aacs-close {
    font-size: 16px;
    width: 100%;
    border: 1px solid #bdbec4;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #7a7a7a;
}

div#aacs-email-template-preview-modal .aacs-modal-box {
    max-width: 896px;
    width: 100%;
}

div#aacs-email-template-preview-modal .aacs-modal-box h2#aacs-preview-modal-title {
    font-size: 30px;
}

div#aacs-email-template-preview-modal .aacs-modal-box .aacs-modal-footer button.aacs-btn.aacs-btn-secondary.aacs-close {
    font-size: 16px;
    width: 100%;
    border: 1px solid #bdbec4;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #7a7a7a;
}

div#aacs-email-template-modal .aacs-modal-footer button.aacs-btn.aacs-btn-secondary.aacs-close {
    width: 70%;
    border: 1px solid #bdbec4;
    font-size: 16px;
    color: #7a7a7a;
    padding-top: 10px;
    padding-bottom: 10px;
}

div#aacs-email-template-modal .aacs-modal-footer button#aacs-save-template-btn {
    width: 30%;
    font-size: 16px;
    background: #155dfc;
}

div#aacs-email-template-modal h2#aacs-template-modal-title {
    font-size: 30px;
}

div#aacs-send-test-modal .aacs-modal-footer button.aacs-btn.aacs-btn-secondary.aacs-close {
    width: 70%;
    border: 1px solid #bdbec4;
    font-size: 16px;
    color: #7a7a7a;
    padding-top: 10px;
    padding-bottom: 10px;
}

div#aacs-send-test-modal .aacs-modal-footer button#aacs-send-test-submit-btn {
    width: 30%;
    font-size: 16px;
    background: #155dfc;
}

.aacs-desassociacao .aacs-alert-info a.aacs-contact-link:hover {
    background: #d3d4d9;
}


div#aacs-forgot-popup input[type="text"] {
    padding-left: 50px;
}

div#aacs-forgot-popup .aacs-input-wrap {
    margin-bottom: 20px;
}

div#aacs-register-popup label {
    margin-top: 12px;
}

div#aacs-register-popup input.aacs-date.form-control.input {
    background: transparent;
    height: 50.6px;
    outline: none !important;
    box-shadow: none !important;
}

div#aacs-register-popup input.aacs-date.form-control.input:focus {
    border: 1px solid #d1d5db !important;
}

div#aacs-register-popup button.aacs-register-btn {
    margin-top: 30px;
}


@media (max-width:1024px) {
    .aacs-admin-dashboard .aacs-admin-dashboard-grid {
        flex-direction: column;
    }

    .aacs-admin-dashboard .aacs-admin-dashboard-grid .aacs-admin-dashboard-section {
        width: 100%;
    }

    .aacs-admin-dashboard .aacs-admin-dashboard-grid .aacs-admin-dashboard-financial {
        width: 100%;
    }

    .aacs-admin-dashboard .aacs-admin-dashboard-grid .aacs-admin-dashboard-section .aacs-admin-stats {
        grid-template-columns: 1fr;
    }

    .aacs-admin-dashboard {
        margin-top: 0px;
    }

    .aacs-admin-container .aacs-admin-header .aacs-user {
        display: none;
    }

    .aacs-admin-container .aacs-admin-header {
        padding-left: 24px;
        padding-right: 24px;
    }

    .aacs-admin-container {
        padding: 0;
    }

    .navbar-collapse.show {
        position: absolute;
        width: 100%;
        left: 0;
        top: 64px;
        background: #fff;
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .aacs-admin-header div#navbarSupportedContent a.aacs-link.nav-link,
    .aacs-admin-header div#navbarSupportedContent a.nav-link.dropdown-toggle {
        font-size: 16px;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .aacs-admin-header div#navbarSupportedContent a.aacs-link.nav-link svg {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }

    .aacs-admin-header div#navbarSupportedContent a.nav-link.dropdown-toggle {
        display: flex;
    }

    .aacs-admin-header div#navbarSupportedContent a.nav-link.dropdown-toggle svg {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        color: rgba(0, 0, 0, .5);
    }

    .aacs-admin-header div#navbarSupportedContent a.aacs-link.nav-link.active svg {
        color: #fff;
    }

    .aacs-admin-header div#navbarSupportedContent a.nav-link.dropdown-toggle svg:last-child {
        margin-left: auto;
        width: 20px;
        height: 20px;
    }

    .navbar-light .navbar-toggler {
        border: 0;
        padding: 0;
    }

    .aacs-admin-header div#navbarSupportedContent li.nav-item.dropdown.is-active .dropdown-menu.aacs-dropdown-menu.sub-active {
        width: 100%;
        border: 0;
        box-shadow: none;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .aacs-main .aacs-relatorios {
        padding: 0;
    }

    .aacs-admin-emails .aacs-admin-email-tabs div#tab-logs .aacs-admin-table-wrapper,
    .aacs-admin-emails .aacs-admin-email-tabs div#tab-templates .aacs-admin-table-wrapper {
        overflow-x: auto;
    }

    header.aacs-header .aacs-brand-text {
        display: none;
    }

    header.aacs-header nav.aacs-nav a.aacs-nav-link.aacs-nav-link-site {
        display: none;
    }

}

@media (max-width:767px) {
    .aacs-admin-associados-stats {
        grid-template-columns: 1fr;
    }

    .aacs-admin-associados .aacs-admin-page-header {
        flex-direction: column;
    }

    .aacs-admin-associados .aacs-admin-table-wrapper {
        overflow-x: auto;
    }

    .aacs-carteirinha-page-header {
        flex-direction: column;
    }

    .aacs-carteirinha-page-header button#aacs-btn-baixar-pdf {
        font-size: 0;
        display: block;
    }

    div#aacs-contact-modal {
        padding-left: 15px;
        padding-right: 15px;
    }

    div#aacs-contact-modal svg {
        width: 20px;
    }

    .aacs-desassociacao .aacs-section-header {
        gap: 10px;
        align-items: center;
    }

    .aacs-desassociacao .aacs-icon-circle svg.aacs-svg {
        width: 30px;
        height: 30px;
    }

    .aacs-desassociacao .aacs-icon-circle {
        min-width: 52px;
        min-height: 52px;
    }

    .aacs-desassociacao .aacs-grid-2 {
        grid-template-columns: 1fr;
    }

    .aacs-myaccount-dashboard .aacs-section-header .aacs-icon-circle {
        min-width: 52px;
        min-height: 52px;
    }

    .aacs-myaccount-dashboard .aacs-section-header {
        gap: 10px;
    }

    .aacs-myaccount-dashboard section.aacs-form-section .aacs-grid-2 {
        grid-template-columns: 1fr;
    }

    .aacs-myaccount-dashboard .aacs-form-actions button.aacs-btn.aacs-btn-primary {
        width: 100%;
    }

    .aacs-main .aacs-container .aacs-container {
        padding: 0;
    }

    .aacs-change-password .aacs-change-actions {
        flex-direction: column;
    }

    .aacs-change-password .aacs-change-actions .aacs-btn {
        width: 100% !important;
    }

    div#aacs-member-modal .aacs-modal-footer {
        bottom: 30px;
    }

    div#aacs-member-modal .aacs-modal-footer button.aacs-btn.aacs-btn-primary.aacs-register-btn {
        width: 70% !important;
    }

    div#aacs-member-modal .aacs-modal-footer button.aacs-btn.aacs-btn-secondary {
        width: 30%;
    }

    form#aacs-register-form .aacs-grid-2 {
        grid-template-columns: 1fr;
    }

    .aacs-admin-filters .aacs-admin-filters-grid {
        flex-wrap: wrap;
        gap: 10px;
    }

    .aacs-admin-filters .aacs-admin-filters-grid .aacs-admin-field:first-child {
        width: 100%;
    }

    .aacs-admin-filters .aacs-admin-filters-grid .aacs-admin-field {
        width: 100%;
    }

    .aacs-admin-filters .aacs-admin-filters-grid .aacs-admin-filter-action {
        width: 100%;
    }

    .aacs-admin-filters .aacs-admin-filters-grid .aacs-admin-filter-action button#exportUsers {
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .aacs-admin-associados {
        margin-top: 0;
    }

    div#aacs-member-details-modal {
        padding-left: 15px;
        padding-right: 15px;
    }

    .aacs-payments-summary {
        grid-template-columns: 1fr;
    }

    .aacs-admin-emails {
        margin-top: 0;
    }

    .aacs-admin-header div#navbarSupportedContent ul.navbar-nav {
        gap: 7px;
    }

    .aacs-admin-email-status-badge {
        min-width: max-content;
    }

    .aacs-admin-email-logs-toolbar select.aacs-admin-email-status-filter {
        width: 100%;
    }

    .aacs-admin-email-logs-toolbar .aacs-admin-export-csv-btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .aacs-admin-recent-activity-card .aacs-recent-activity-item {
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: 8px;
    }

    .aacs-admin-recent-activity-card .aacs-recent-activity-item .aacs-recent-activity-left {
        width: 100%;
    }

    .aacs-admin-recent-activity-card .aacs-recent-activity-item .aacs-recent-activity-right {
        width: 100%;
    }

    div#aacs-forgot-popup .aacs-popup-top {
        flex-direction: column;
        align-items: start;
    }

    div#aacs-register-popup .aacs-popup-top {
        flex-direction: column;
        align-items: start;
    }

    div#aacs-register-popup .aacs-popup-top .aacs-popup-title-wrap {
        margin-bottom: 0;
    }

    div#aacs-register-popup .aacs-popup-top .aacs-popup-title-wrap p {
        margin-bottom: 0;
    }

    .aacs-login-card {
        display: flex !important;
        flex-direction: column-reverse !important;
    }


    .aacs-main .aacs-relatorios form#aacs-relatorios-filters-form select#aacs-period {
        min-width: 91%;
    }

    .aacs-relatorios-filters .aacs-select-wrap {
        width: 100% !important;
    }

    .aacs-main .aacs-relatorios form#aacs-relatorios-filters-form select#aacs-view {
        min-width: 91%;
    }

  
}

/* Flatpickr .aacs-date — typed DD/MM/YYYY validation */
input.aacs-date.aacs-date-invalid,
.aacs-date.aacs-date-invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.2);
}

input.aacs-date.aacs-date-invalid:focus,
.aacs-date.aacs-date-invalid:focus {
    outline-color: #dc2626;
}

p.aacs-checkout-back-link,
p.aacs-cred-checkout-edit-link {
    margin: 0 0 1.25rem;
}

p.aacs-checkout-back-link a.aacs-btn,
p.aacs-cred-checkout-edit-link a.aacs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}