:root {
    --ser-blue: #3474b3;
    --ser-dark-blue: #002A54;
    --ser-yellow: #DBA628;
    --ser-orange: #D36A28;
    --ser-green: #6bcf3f;
    --ser-light: #f5f8fb;
    --ser-white: #ffffff;
    --ser-text: #17202a;
    --ser-muted: #667085;
    --ser-border: #dbe3ec;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ser-text);
    background: var(--ser-light);
}

a {
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.hero {
    min-height: 100vh;
    background:
        radial-gradient(circle at right top, rgba(219, 166, 40, 0.18), transparent 35%),
        linear-gradient(135deg, var(--ser-dark-blue), #063d78);
    color: var(--ser-white);
    display: flex;
    align-items: center;
}

.brand img {
    max-width: 400px;
    background: transparent;
    margin-bottom: 48px;
}

.hero-content {
    max-width: 780px;
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(219, 166, 40, 0.18);
    color: var(--ser-yellow);
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1;
    margin: 0 0 24px;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    color: #d9e7f5;
    max-width: 720px;
}

.actions {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 700;
}

.btn-primary {
    background: var(--ser-yellow);
    color: var(--ser-dark-blue);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--ser-white);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.admin-body {
    background: #eef3f8;
}

.admin-layout {
    min-height: 100vh;
    display: flex;
}

.sidebar {
    width: 260px;
    background: var(--ser-dark-blue);
    color: var(--ser-white);
    padding: 28px 22px;
}

.sidebar h2 {
    margin: 0 0 28px;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar nav a {
    color: #d9e7f5;
    padding: 12px;
    border-radius: 10px;
}

.sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar img {
    max-width: 210px;
    background: transparent;
}

.admin-content {
    flex: 1;
    padding: 36px;
}

.admin-content h1 {
    margin-top: 0;
    color: var(--ser-dark-blue);
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.card {
    background: var(--ser-white);
    border: 1px solid var(--ser-border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0, 42, 84, 0.08);
}

.card span {
    display: block;
    color: var(--ser-muted);
    margin-bottom: 12px;
}

.card strong {
    font-size: 34px;
    color: var(--ser-dark-blue);
}

@media (max-width: 700px) {
    .admin-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}

.login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at right top, rgba(219, 166, 40, 0.22), transparent 34%),
        linear-gradient(135deg, var(--ser-dark-blue), #073f7a);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-wrapper {
    width: 100%;
    max-width: 430px;
}

.login-card {
    background: var(--ser-white);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.login-brand {
    text-align: center;
    margin-bottom: 24px;
}

.login-brand img {
    max-width: 240px;
}

.login-card h1 {
    color: var(--ser-dark-blue);
    margin: 0 0 8px;
    font-size: 28px;
}

.login-card p {
    color: var(--ser-muted);
    margin: 0 0 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--ser-dark-blue);
    font-weight: 700;
}

.form-group input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--ser-border);
    border-radius: 12px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
}

.form-group input:focus {
    border-color: var(--ser-blue);
    box-shadow: 0 0 0 4px rgba(52, 116, 179, 0.12);
}

.btn-login {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: var(--ser-yellow);
    color: var(--ser-dark-blue);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

.btn-login:hover {
    filter: brightness(0.96);
}

.alert {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-weight: 700;
}

.alert-error {
    background: #ffe9e9;
    color: #a40000;
    border: 1px solid #ffc6c6;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 18px;
    color: var(--ser-dark-blue);
    font-weight: 700;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.admin-user-box {
    background: var(--ser-white);
    border: 1px solid var(--ser-border);
    border-radius: 14px;
    padding: 14px 18px;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0, 42, 84, 0.06);
}

.admin-user-box strong {
    display: block;
    color: var(--ser-dark-blue);
}

.admin-user-box span {
    display: block;
    color: var(--ser-muted);
    font-size: 13px;
    margin-top: 4px;
}

@media (max-width: 700px) {
    .admin-header {
        flex-direction: column;
    }

    .admin-user-box {
        width: 100%;
    }
}

.page-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-primary-admin {
    background: var(--ser-yellow);
    color: var(--ser-dark-blue);
}

.btn-secondary-admin {
    background: var(--ser-white);
    color: var(--ser-dark-blue);
    border: 1px solid var(--ser-border);
}

.alert-success {
    background: #e9f9ef;
    color: #126b32;
    border: 1px solid #bde8ca;
}

.table-card,
.form-card {
    background: var(--ser-white);
    border: 1px solid var(--ser-border);
    border-radius: 18px;
    padding: 22px;
    margin-top: 24px;
    box-shadow: 0 8px 24px rgba(0, 42, 84, 0.06);
    overflow-x: auto;
}

/* ===== LISTAGEM DE ASSOCIADOS MELHORADA ===== */

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 980px;
}

.admin-table thead th {
    background: #f7f9fc;
    color: var(--ser-dark-blue);
    font-size: 14px;
    font-weight: 700;
    padding: 16px 14px;
    border-bottom: 1px solid var(--ser-border);
    white-space: nowrap;
}

.admin-table tbody td {
    padding: 16px 14px;
    border-bottom: 1px solid var(--ser-border);
    vertical-align: middle;
    font-size: 14px;
    color: var(--ser-text);
}

.admin-table tbody tr:hover {
    background: #f9fbfe;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table td strong {
    color: var(--ser-dark-blue);
}

.actions-column {
    width: 120px;
    text-align: center;
}

.table-actions-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.icon-action {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.18s ease;
    border: 1px solid transparent;
    box-shadow: 0 6px 16px rgba(0, 42, 84, 0.08);
}

.icon-action svg {
    width: 18px;
    height: 18px;
    display: block;
}

.icon-edit {
    background: #fff4d8;
    color: #9a6a00;
    border-color: #f3dc96;
}

.icon-card {
    background: #eaf2ff;
    color: #0b4f94;
    border-color: #c8ddff;
}

.icon-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 42, 84, 0.14);
}

.icon-edit:hover {
    background: #ffe9b0;
}

.icon-card:hover {
    background: #dbeaff;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
}

.admin-table td:nth-child(1) {
    font-weight: 700;
    color: var(--ser-dark-blue);
}

.admin-table td:nth-child(2),
.admin-table td:nth-child(4),
.admin-table td:nth-child(7) {
    white-space: nowrap;
}

.admin-table td:nth-child(5) {
    word-break: break-word;
}

/* visual geral do card da tabela */
.table-card {
    background: var(--ser-white);
    border: 1px solid var(--ser-border);
    border-radius: 22px;
    padding: 8px 14px;
    margin-top: 24px;
    box-shadow: 0 10px 28px rgba(0, 42, 84, 0.06);
    overflow-x: auto;
}

.empty-table {
    text-align: center;
    color: var(--ser-muted);
    padding: 30px !important;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status-pending {
    background: #fff4d6;
    color: #8a5d00;
}

.status-active {
    background: #e9f9ef;
    color: #126b32;
}

.status-inactive {
    background: #eef1f5;
    color: #596579;
}

.status-blocked {
    background: #ffe9e9;
    color: #a40000;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 18px;
}

.form-group select,
.form-group input[type="file"] {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--ser-border);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 15px;
    outline: none;
    background: var(--ser-white);
}

.form-actions {
    margin-top: 24px;
}

.btn-submit {
    border: none;
    border-radius: 12px;
    background: var(--ser-yellow);
    color: var(--ser-dark-blue);
    height: 50px;
    padding: 0 24px;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
}

.code-box {
    background: #0f172a;
    color: #e5e7eb;
    padding: 18px;
    border-radius: 14px;
    overflow-x: auto;
    margin-bottom: 22px;
}

@media (max-width: 700px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .page-actions {
        width: 100%;
    }

    .page-actions .btn {
        width: 100%;
    }
}

/*carteirinha*/
.member-card-preview {
    margin-top: 42px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

/* Template original: 348x244. Aqui renderizamos em 696x488, 2x o tamanho. */
.cardtpl {
    position: relative;
    width: 696px;
    height: 488px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #0d6c93;
    box-shadow: 0 28px 80px rgba(0, 42, 84, 0.24);
}

.cardtpl-bg {
    position: absolute;
    inset: 0;
    width: 696px;
    height: 488px;
    display: block;
    object-fit: cover;
}

.cardtpl-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* FOTO 3x4 - posição do retângulo branco do template */
.cardtpl-photo {
    position: absolute;
    left: 30px;
    top: 32px;
    width: 140px;
    height: 192px;
    overflow: hidden;
    background: #ffffff;
}

.cardtpl-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder quando ainda não tiver foto */
.cardtpl-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003b70;
    font-weight: 700;
    font-size: 18px;
    background: #ffffff;
}

/* Nome e setor/cargo */
.cardtpl-name {
    position: absolute;
    left: 194px;
    top: 166px;
    right: 60px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cardtpl-role {
    position: absolute;
    left: 194px;
    top: 202px;
    right: 190px;
    color: #ffffff;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.32);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Valores dos campos — os rótulos já estão no template */
.cardtpl-registration,
.cardtpl-cpf,
.cardtpl-birth,
.cardtpl-validity {
    position: absolute;
    color: #ffffff;
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.32);
}

.cardtpl-registration {
    left: 30px;
    top: 264px;
}

.cardtpl-cpf {
    left: 30px;
    top: 350px;
}

.cardtpl-birth {
    left: 30px;
    top: 438px;
}

.cardtpl-validity {
    left: 352px;
    top: 438px;
}

/* QR Code - posição do retângulo branco do template */
.cardtpl-qr {
    position: absolute;
    left: 524px;
    top: 312px;
    width: 144px;
    height: 144px;
    background: #ffffff;
    padding: 8px;
}

.cardtpl-qr img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

@media (max-width: 700px) {
    .cardtpl {
        transform: scale(0.8);
        transform-origin: top center;
        margin-bottom: -90px;
    }
}

@media (max-width: 650px) {
    .cardtpl {
        transform: scale(0.55);
        transform-origin: top center;
        margin-bottom: -200px;
    }
}

.edit-photo-area {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 18px;
    border: 1px dashed var(--ser-border);
    border-radius: 16px;
    background: #f8fafc;
    margin-bottom: 24px;
}

.current-photo-box {
    width: 90px;
    height: 120px;
    background: #ffffff;
    border: 1px solid var(--ser-border);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ser-muted);
    font-weight: 700;
    font-size: 13px;
    flex: 0 0 90px;
}

.current-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-label {
    display: block;
    margin-bottom: 8px;
    color: var(--ser-dark-blue);
    font-weight: 700;
}

.edit-photo-area input[type="file"] {
    display: block;
    margin-bottom: 8px;
}

.edit-photo-area small {
    color: var(--ser-muted);
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.table-action-edit {
    background: var(--ser-yellow);
    color: var(--ser-dark-blue);
}

/* VALIDAÇÃO CARTEIRINHA */
.validation-body {
    margin: 0;
    min-height: 100vh;
    background: #eef3f8;
    font-family: Arial, Helvetica, sans-serif;
}

.validation-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 42px 16px;
}

.validation-card {
    position: relative;
    width: min(520px, 100%);
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 42, 84, 0.18);
}

.validation-hero {
    height: 250px;
    background:
        radial-gradient(circle at 70% 10%, rgba(255,255,255,0.22), transparent 28%),
        linear-gradient(135deg, #005497 0%, #0b6b96 48%, #4d8b7b 100%);
    text-align: center;
    padding-top: 48px;
    color: #ffffff;
}

.validation-logo {
    width: 260px;
    max-width: 78%;
    display: block;
    margin: 0 auto 18px;
}

.validation-hero p {
    margin: 0;
    font-size: 18px;
    letter-spacing: 0.3px;
}

.validation-photo-wrap {
    height: 82px;
    display: flex;
    justify-content: center;
    position: relative;
}

.validation-photo {
    position: absolute;
    top: -76px;
    width: 154px;
    height: 154px;
    border-radius: 50%;
    background: #ffffff;
    border: 8px solid #ffffff;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 42, 84, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ser-dark-blue);
    font-weight: 700;
}

.validation-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.validation-content {
    padding: 0 34px 32px;
    text-align: center;
}

.validation-content h1 {
    margin: 8px 0 8px;
    color: #2f3338;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
}

.validation-content h2 {
    margin: 0 0 24px;
    color: #0b6b96;
    font-size: 22px;
    font-weight: 700;
}

.validation-status {
    min-height: 58px;
    border-radius: 999px;
    border: 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 22px;
    padding: 0 20px;
}

.validation-status span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
}

.validation-status-valid {
    color: #21ad61;
    background: #edf9f1;
    border-color: #21ad61;
}

.validation-status-valid span {
    background: #21ad61;
}

.validation-status-warning {
    color: #d58700;
    background: #fff8e6;
    border-color: #d58700;
}

.validation-status-warning span {
    background: #d58700;
}

.validation-status-invalid {
    color: #c62828;
    background: #fff0f0;
    border-color: #c62828;
}

.validation-status-invalid span {
    background: #c62828;
}

.validation-message {
    color: #21ad61;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
    margin: 0 0 28px;
}

.validation-status-warning + .validation-message {
    color: #b77400;
}

.validation-status-invalid + .validation-message {
    color: #c62828;
}

.validation-details {
    background: #fafafa;
    border: 1px solid #e4e7ec;
    border-radius: 22px;
    padding: 18px 24px;
    text-align: left;
}

.validation-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed #d7dce2;
}

.validation-row:last-child {
    border-bottom: none;
}

.validation-row span {
    color: #9aa0a6;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.validation-row strong {
    color: #2f3338;
    font-size: 16px;
    text-align: right;
}

.validation-footer {
    background: #2f2f2f;
    color: #aeb2b7;
    text-align: center;
    padding: 22px 26px;
    font-size: 14px;
    letter-spacing: 2px;
    line-height: 1.45;
}

.validation-whatsapp {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.38);
}

@media (max-width: 520px) {
    .validation-page {
        padding: 20px 10px;
    }

    .validation-card {
        border-radius: 22px;
    }

    .validation-hero {
        height: 230px;
        padding-top: 42px;
    }

    .validation-content {
        padding: 0 22px 28px;
    }

    .validation-content h1 {
        font-size: 28px;
    }

    .validation-status {
        font-size: 15px;
        padding: 0 14px;
    }

    .validation-row {
        flex-direction: column;
        gap: 6px;
    }

    .validation-row strong {
        text-align: left;
    }
}

.associate-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.associate-action-btn {
    min-width: 42px;
    height: 38px;
    padding: 0 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    box-shadow: 0 6px 14px rgba(0, 42, 84, 0.08);
    transition: 0.18s ease;
}

.associate-action-btn span {
    font-size: 12px;
}

.associate-action-edit {
    background: #fff4d8;
    color: #805600;
    border-color: #f0d48a;
}

.associate-action-card {
    background: #eaf3ff;
    color: #0b4f94;
    border-color: #bfd9ff;
}

.associate-action-delete {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
    cursor: pointer;
    font-family: inherit;
}

.collaborator-action-form {
    margin: 0;
    padding: 0;
    display: inline-flex;
}

.associate-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 42, 84, 0.14);
}

.actions-column {
    width: 190px;
    text-align: center;
}

/* IMPRESSÃO */
.print-card-body {
    margin: 0;
    min-height: 100vh;
    background: #2d4054;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.print-toolbar {
    width: max-content;
    margin: 48px auto 20px;
    background: #ffffff;
    border-radius: 999px;
    padding: 10px;
    display: flex;
    gap: 10px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.print-btn {
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.print-btn-back {
    background: #7c8ba0;
    color: #ffffff;
}

.print-btn-main {
    background: #ef6f55;
    color: #ffffff;
}

.print-card-page {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 24px 50px;
}

.cardtpl-print {
    margin-top: 0;
}

/* IMPRESSÃO EM PAISAGEM */
@page {
    size: A4 landscape;
    margin: 0;
}

@media print {
    html,
    body {
        width: 297mm;
        height: 210mm;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .print-toolbar {
        display: none !important;
    }

    .print-card-page {
        width: 297mm;
        height: 210mm;
        min-height: 210mm;
        padding: 0 !important;
        margin: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ffffff !important;
    }

    .cardtpl {
        box-shadow: none !important;
        transform: none !important;
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

.device-cell {
    max-width: 320px;
    font-size: 12px !important;
    color: var(--ser-muted) !important;
    word-break: break-word;
}


/* CONVÊNIOS */
.partner-logo-thumb {
    width: 62px;
    height: 46px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--ser-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--ser-muted);
    font-size: 11px;
    font-weight: 700;
}

.partner-logo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    display: block;
}

.partner-logo-preview {
    width: 130px;
    height: 90px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--ser-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--ser-muted);
    font-weight: 700;
    flex: 0 0 130px;
}

.partner-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    display: block;
}

.partner-benefit-cell {
    max-width: 280px;
    line-height: 1.35;
}

.coupon-badge {
    display: inline-flex;
    margin-top: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #0b4f94;
    font-size: 12px;
    font-weight: 700;
}

/* ===== TEXTAREAS / DESCRIÇÕES ===== */

.form-group textarea {
    width: 100%;
    min-height: 130px;
    border: 1px solid var(--ser-border);
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    outline: none;
    background: var(--ser-white);
    color: var(--ser-text);
    resize: vertical;
    line-height: 1.5;
}

.form-group textarea:focus {
    border-color: var(--ser-blue);
    box-shadow: 0 0 0 4px rgba(52, 116, 179, 0.12);
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group-full textarea {
    min-height: 150px;
}

/* ===== ADMIN LAYOUT GLOBAL ===== */

.admin-shell {
    min-height: 100vh;
    display: flex;
    background: #eef3f8;
}

.admin-sidebar {
    width: 270px;
    min-height: 100vh;
    background: #003965;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
}

.admin-sidebar-logo {
    padding: 28px 24px 20px;
}

.admin-sidebar-logo img {
    max-width: 190px;
    display: block;
}

.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 16px;
    flex: 1;
}

.admin-sidebar-nav a,
.admin-sidebar-bottom a {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    color: #dbeafe;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.18s ease;
}

.admin-sidebar-nav a span,
.admin-sidebar-bottom a span {
    width: 24px;
    display: inline-flex;
    justify-content: center;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active,
.admin-sidebar-bottom a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.admin-sidebar-bottom {
    padding: 14px 16px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    min-height: 116px;
    padding: 28px 36px 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.admin-topbar h1 {
    margin: 0;
    color: var(--ser-dark-blue);
    font-size: 34px;
    line-height: 1.1;
}

.admin-topbar p {
    margin: 12px 0 0;
    color: #27364a;
    font-size: 16px;
}

.admin-topbar-user {
    background: #ffffff;
    border: 1px solid var(--ser-border);
    border-radius: 16px;
    padding: 14px 18px;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0, 42, 84, 0.06);
}

.admin-topbar-user strong {
    display: block;
    color: var(--ser-dark-blue);
}

.admin-topbar-user span {
    display: block;
    color: var(--ser-muted);
    font-size: 13px;
    margin-top: 4px;
}

.admin-page {
    flex: 1;
    padding: 0 36px 36px;
}

.admin-footer {
    padding: 18px 36px;
    color: var(--ser-muted);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
}

/* ===== DASHBOARD ===== */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(170px, 1fr));
    gap: 18px;
}

.dashboard-card {
    background: #ffffff;
    border: 1px solid var(--ser-border);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(0, 42, 84, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-card span {
    display: block;
    color: var(--ser-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.dashboard-card strong {
    color: var(--ser-dark-blue);
    font-size: 28px;
    line-height: 1;
}

.dashboard-card i {
    font-style: normal;
    width: 52px;
    height: 52px;
    background: #eef6ff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.dashboard-panel {
    margin-top: 26px;
    background: #ffffff;
    border: 1px solid var(--ser-border);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 10px 28px rgba(0, 42, 84, 0.06);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.dashboard-panel h2 {
    margin: 0;
    color: var(--ser-dark-blue);
}

.dashboard-panel p {
    margin: 8px 0 0;
    color: var(--ser-muted);
}

.dashboard-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-action {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--ser-yellow);
    color: var(--ser-dark-blue);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 1100px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-sidebar {
        width: 230px;
    }
}

@media (max-width: 700px) {
    .admin-shell {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        min-height: auto;
        position: relative;
    }

    .admin-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 14px;
    }

    .admin-sidebar-nav a {
        min-width: max-content;
    }

    .admin-sidebar-bottom {
        display: none;
    }

    .admin-topbar {
        flex-direction: column;
        padding: 24px 22px 16px;
    }

    .admin-topbar-user {
        width: 100%;
    }

    .admin-page {
        padding: 0 22px 28px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-footer {
        padding: 18px 22px;
        flex-direction: column;
        gap: 6px;
    }
}

/* ===== PAGE TOOLBAR ===== */

.page-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.page-toolbar-left {
    flex: 1;
    min-width: 260px;
}

.page-toolbar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.page-search-box {
    height: 48px;
    max-width: 520px;
    background: #ffffff;
    border: 1px solid var(--ser-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0, 42, 84, 0.04);
}

.page-search-box span {
    font-size: 17px;
    opacity: 0.8;
}

.page-search-box input {
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    background: transparent;
    font-size: 15px;
    color: var(--ser-text);
}

/* ===== ASSOCIATE TABLE ACTIONS ===== */

.associate-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.associate-action-btn {
    min-width: 42px;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    box-shadow: 0 6px 14px rgba(0, 42, 84, 0.08);
    transition: 0.18s ease;
    white-space: nowrap;
}

.associate-action-btn span {
    font-size: 12px;
}

.associate-action-edit {
    background: #fff4d8;
    color: #805600;
    border-color: #f0d48a;
}

.associate-action-card {
    background: #eaf3ff;
    color: #0b4f94;
    border-color: #bfd9ff;
}

.associate-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 42, 84, 0.14);
}

.actions-column {
    width: 190px;
    text-align: center;
}

.cell-name {
    min-width: 150px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--ser-dark-blue);
}

.cell-sector {
    min-width: 170px;
    line-height: 1.25;
}

.cell-email {
    word-break: break-word;
    max-width: 190px;
}

@media (max-width: 850px) {
    .page-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .page-search-box {
        max-width: 100%;
    }

    .page-toolbar-actions {
        width: 100%;
    }

    .page-toolbar-actions .btn {
        flex: 1;
    }
}

.import-instructions h2 {
    margin: 0 0 8px;
    color: var(--ser-dark-blue);
}

.import-instructions p {
    color: var(--ser-muted);
    margin: 0 0 18px;
}

/* ===== VALIDATION LOGS SUMMARY ===== */

.validation-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.validation-summary-card {
    background: #ffffff;
    border: 1px solid var(--ser-border);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 8px 24px rgba(0, 42, 84, 0.05);
}

.validation-summary-card span {
    display: block;
    color: var(--ser-muted);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.validation-summary-card strong {
    display: block;
    color: var(--ser-dark-blue);
    font-size: 30px;
    line-height: 1;
}

@media (max-width: 700px) {
    .validation-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .validation-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== DASHBOARD HOME PREMIUM ===== */

.dashboard-hero {
    margin-bottom: 22px;
    border-radius: 26px;
    padding: 30px;
    background: linear-gradient(135deg, #003965 0%, #006d93 58%, #00a36c 100%);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: 0 18px 42px rgba(0, 57, 101, 0.22);
    overflow: hidden;
    position: relative;
}

.dashboard-hero::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -80px;
    top: -90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.dashboard-hero span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    margin-bottom: 8px;
}

.dashboard-hero h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.1;
}

.dashboard-hero p {
    max-width: 720px;
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}

.dashboard-hero-badge {
    position: relative;
    z-index: 2;
    min-width: 132px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    padding: 18px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.dashboard-hero-badge strong {
    display: block;
    font-size: 17px;
}

.dashboard-hero-badge span {
    margin: 6px 0 0;
    font-size: 28px;
    letter-spacing: 0;
    text-transform: none;
}

.dashboard-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.dashboard-status-card {
    border-radius: 20px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--ser-border);
    box-shadow: 0 10px 28px rgba(0, 42, 84, 0.06);
}

.dashboard-status-card span {
    display: block;
    font-size: 14px;
    color: var(--ser-muted);
    font-weight: 700;
    margin-bottom: 8px;
}

.dashboard-status-card strong {
    display: block;
    font-size: 32px;
    color: var(--ser-dark-blue);
}

.dashboard-status-card.status-ok {
    border-left: 6px solid #16a34a;
}

.dashboard-status-card.status-alert {
    border-left: 6px solid #f59e0b;
}

.dashboard-status-card.status-danger {
    border-left: 6px solid #dc2626;
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 24px;
}

.dashboard-panel {
    background: #ffffff;
    border: 1px solid var(--ser-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0, 42, 84, 0.06);
}

.dashboard-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.dashboard-panel-header h2 {
    margin: 0;
    color: var(--ser-dark-blue);
}

.dashboard-panel-header p {
    margin: 6px 0 0;
    color: var(--ser-muted);
}

.dashboard-link {
    font-weight: 700;
    color: var(--ser-blue);
    text-decoration: none;
    white-space: nowrap;
}

.dashboard-validation-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-validation-item {
    min-height: 62px;
    border: 1px solid var(--ser-border);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: #f8fbff;
}

.dashboard-validation-item strong {
    display: block;
    color: var(--ser-dark-blue);
    font-size: 14px;
}

.dashboard-validation-item span {
    display: block;
    color: var(--ser-muted);
    font-size: 12px;
    margin-top: 4px;
}

.dashboard-validation-item em {
    font-style: normal;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.mini-valid {
    background: #dcfce7;
    color: #166534;
}

.mini-warning {
    background: #fef3c7;
    color: #92400e;
}

.mini-invalid {
    background: #fee2e2;
    color: #991b1b;
}

.dashboard-shortcut-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.dashboard-shortcut-list a {
    width: 100%;
    min-height: 56px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid var(--ser-border);
    color: var(--ser-dark-blue);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    transition: 0.18s ease;
    box-sizing: border-box;
}

.dashboard-shortcut-list a:hover {
    background: #eef6ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 42, 84, 0.10);
}

.dashboard-shortcut-list span {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-empty {
    padding: 18px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px dashed var(--ser-border);
    color: var(--ser-muted);
    text-align: center;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-status-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== EVENTS ===== */

.event-banner-thumb {
    width: 96px;
    height: 56px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--ser-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--ser-muted);
    font-size: 11px;
    font-weight: 700;
}

.event-banner-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-banner-preview {
    width: 100%;
    min-height: 190px;
    max-height: 320px;
    border-radius: 22px;
    background: #f8fbff;
    border: 1px dashed var(--ser-border);
    margin-bottom: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ser-muted);
    font-weight: 700;
}

.event-banner-preview img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

.muted-text {
    color: var(--ser-muted);
    font-size: 12px;
    font-weight: 600;
}

/* ===== SITE PUBLIC ===== */

.site-body {
    margin: 0;
    background: #eef3f8;
    color: var(--ser-text);
    font-family: Arial, Helvetica, sans-serif;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--ser-border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 76px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ser-dark-blue);
    font-weight: 700;
    text-decoration: none;
}

.site-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-nav a {
    color: var(--ser-dark-blue);
    font-weight: 700;
    text-decoration: none;
}

.site-footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    justify-content: space-between;
    color: var(--ser-muted);
    font-size: 13px;
}

/* ===== PUBLIC EVENTS LIST ===== */

.events-public-hero {
    background: linear-gradient(135deg, #003965 0%, #006d93 58%, #00a36c 100%);
    color: #ffffff;
    padding: 72px 24px;
}

.events-public-hero > div {
    max-width: 1180px;
    margin: 0 auto;
}

.events-public-hero span,
.event-kicker {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
    margin-bottom: 12px;
}

.events-public-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: 42px;
    line-height: 1.08;
}

.events-public-hero p {
    max-width: 720px;
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.92;
}

.events-public-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 36px 24px 56px;
}

.events-public-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.event-public-card {
    background: #ffffff;
    border: 1px solid var(--ser-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 42, 84, 0.08);
}

.event-public-image {
    height: 180px;
    background: #003965;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.event-public-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-public-card-body {
    padding: 22px;
}

.event-public-date {
    display: block;
    color: var(--ser-green);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-public-card h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.18;
}

.event-public-card h2 a {
    color: var(--ser-dark-blue);
    text-decoration: none;
}

.event-public-card p {
    color: var(--ser-muted);
    line-height: 1.45;
}

.event-public-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin: 18px 0;
    color: var(--ser-text);
}

.event-public-meta strong {
    color: var(--ser-dark-blue);
    white-space: nowrap;
}

.event-public-button,
.event-primary-button {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    background: var(--ser-yellow);
    color: var(--ser-dark-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    border: none;
}

.events-empty-card {
    background: #ffffff;
    border: 1px dashed var(--ser-border);
    border-radius: 22px;
    padding: 30px;
    text-align: center;
    color: var(--ser-muted);
    font-weight: 700;
}

/* ===== EVENT DETAIL ===== */

.event-detail-hero {
    background: linear-gradient(135deg, #003965 0%, #006d93 70%);
    color: #ffffff;
    padding: 58px 24px;
}

.event-detail-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: center;
}

.event-back-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    margin-bottom: 22px;
    opacity: 0.9;
}

.event-detail-content h1 {
    margin: 0;
    font-size: 44px;
    line-height: 1.08;
}

.event-detail-content p {
    max-width: 720px;
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.92;
}

.event-detail-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 24px;
    color: var(--ser-text);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.event-price-box {
    border-bottom: 1px solid var(--ser-border);
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.event-price-box span {
    display: block;
    color: var(--ser-muted);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
}

.event-price-box strong {
    color: var(--ser-dark-blue);
    font-size: 34px;
}

.event-info-list {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
}

.event-info-list span {
    display: block;
    color: var(--ser-muted);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.event-info-list strong {
    color: var(--ser-dark-blue);
}

.event-primary-button {
    width: 100%;
}

.event-banner-section {
    max-width: 1180px;
    margin: 34px auto 0;
    padding: 0 24px;
}

.event-banner-section img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 16px 42px rgba(0, 42, 84, 0.12);
}

.event-detail-body {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px 60px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
}

.event-description-card,
.event-side-card {
    background: #ffffff;
    border: 1px solid var(--ser-border);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 10px 28px rgba(0, 42, 84, 0.06);
}

.event-description-card h2,
.event-side-card h3 {
    margin: 0 0 16px;
    color: var(--ser-dark-blue);
}

.event-description-text {
    color: var(--ser-text);
    line-height: 1.65;
}

.event-side-info {
    display: grid;
    gap: 18px;
    align-content: start;
}

.event-disabled-button {
    width: 100%;
    min-height: 46px;
    border-radius: 14px;
    border: none;
    background: #dbe3ec;
    color: #64748b;
    font-weight: 700;
    cursor: not-allowed;
}

@media (max-width: 950px) {
    .events-public-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-detail-hero-inner,
    .event-detail-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .site-header-inner,
    .site-footer {
        flex-direction: column;
        gap: 14px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .events-public-grid {
        grid-template-columns: 1fr;
    }

    .events-public-hero h1,
    .event-detail-content h1 {
        font-size: 32px;
    }
}

/* ===== PUBLIC EVENT REGISTRATION FORM ===== */

.site-alert {
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.site-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.site-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.event-vacancy-box {
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid var(--ser-border);
    padding: 14px;
    margin: 16px 0;
}

.event-vacancy-box span {
    display: block;
    color: var(--ser-muted);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.event-vacancy-box strong {
    display: block;
    color: var(--ser-dark-blue);
    font-size: 22px;
}

.event-registration-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.site-form-group {
    display: grid;
    gap: 7px;
}

.site-form-group label {
    color: var(--ser-dark-blue);
    font-size: 13px;
    font-weight: 700;
}

.site-form-group input,
.site-form-group select,
.site-form-group textarea {
    width: 100%;
    border: 1px solid var(--ser-border);
    border-radius: 13px;
    padding: 12px 13px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ser-text);
    background: #ffffff;
    outline: none;
}

.site-form-group textarea {
    resize: vertical;
    line-height: 1.45;
}

.site-form-group input:focus,
.site-form-group select:focus,
.site-form-group textarea:focus {
    border-color: var(--ser-blue);
    box-shadow: 0 0 0 4px rgba(52, 116, 179, 0.12);
}

.event-submit-button {
    min-height: 50px;
    border-radius: 15px;
    border: none;
    background: var(--ser-yellow);
    color: var(--ser-dark-blue);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-top: 4px;
}

.event-submit-button:hover {
    filter: brightness(0.98);
}

/* ===== EVENT REGISTRATIONS ADMIN ===== */

.event-filter-form {
    max-width: 560px;
}

.event-filter-form select {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid var(--ser-border);
    background: #ffffff;
    padding: 0 14px;
    font-size: 15px;
    color: var(--ser-text);
    font-weight: 700;
    outline: none;
    box-shadow: 0 8px 20px rgba(0, 42, 84, 0.04);
}

.event-registrations-table td {
    vertical-align: top;
}

.mini-status-form {
    display: grid;
    gap: 7px;
    min-width: 160px;
}

.mini-status-form select {
    width: 100%;
    min-height: 34px;
    border-radius: 10px;
    border: 1px solid var(--ser-border);
    padding: 0 8px;
    font-size: 12px;
    background: #ffffff;
    color: var(--ser-text);
    outline: none;
}

.mini-status-form button {
    min-height: 34px;
    border: none;
    border-radius: 10px;
    background: var(--ser-yellow);
    color: var(--ser-dark-blue);
    font-weight: 700;
    cursor: pointer;
}

.registration-details-row td {
    background: #f8fbff !important;
    color: var(--ser-text);
    line-height: 1.6;
    border-top: none !important;
    font-size: 13px;
}

/* ===== DASHBOARD EVENTOS / INSCRIÇÕES ===== */

.dashboard-grid-8 {
    grid-template-columns: repeat(4, minmax(170px, 1fr));
}

.dashboard-status-grid-6 {
    grid-template-columns: repeat(6, minmax(140px, 1fr));
}

.dashboard-status-grid-6 .dashboard-status-card {
    padding: 18px;
}

.dashboard-status-grid-6 .dashboard-status-card strong {
    font-size: 28px;
}

@media (max-width: 1300px) {
    .dashboard-status-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 950px) {
    .dashboard-grid-8 {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-status-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .dashboard-grid-8,
    .dashboard-status-grid-6 {
        grid-template-columns: 1fr;
    }
}

/* ===== SPONSORS ADMIN ===== */

.sponsor-logo-thumb {
    width: 72px;
    height: 50px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--ser-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--ser-muted);
    font-size: 11px;
    font-weight: 700;
}

.sponsor-logo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    display: block;
}

.sponsor-level-badge {
    display: inline-flex;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.sponsor-level-master {
    background: #e0f2fe;
    color: #075985;
}

.sponsor-level-gold {
    background: #fef3c7;
    color: #92400e;
}

.sponsor-level-silver {
    background: #f1f5f9;
    color: #334155;
}

.sponsor-level-bronze {
    background: #ffedd5;
    color: #9a3412;
}

.sponsor-level-supporter {
    background: #dcfce7;
    color: #166534;
}

.sponsor-preview-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.sponsor-logo-preview,
.sponsor-banner-preview {
    background: #f8fbff;
    border: 1px dashed var(--ser-border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--ser-muted);
    font-weight: 700;
}

.sponsor-logo-preview {
    height: 130px;
}

.sponsor-banner-preview {
    height: 130px;
}

.sponsor-logo-preview img,
.sponsor-banner-preview img {
    width: 100%;
    height: 100%;
    display: block;
}

.sponsor-logo-preview img {
    object-fit: contain;
    padding: 12px;
}

.sponsor-banner-preview img {
    object-fit: cover;
}

@media (max-width: 760px) {
    .sponsor-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== IMAGENS DE PATROCINADORES ===== */

.sponsor-logo-thumb {
    width: 76px;
    height: 56px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--ser-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--ser-muted);
    font-size: 11px;
    font-weight: 700;
}

.sponsor-logo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    display: block;
}

.sponsor-preview-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.sponsor-logo-preview {
    height: 150px;
    background: #ffffff;
    border: 1px dashed var(--ser-border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--ser-muted);
    font-weight: 700;
}

.sponsor-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    display: block;
}

.sponsor-banner-preview {
    width: 100%;
    aspect-ratio: 16 / 5;
    min-height: 150px;
    background: #f8fbff;
    border: 1px dashed var(--ser-border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--ser-muted);
    font-weight: 700;
}

.sponsor-banner-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.field-help {
    display: block;
    margin-top: 6px;
    color: var(--ser-muted);
    font-size: 12px;
    line-height: 1.35;
}

/* ===== NOTIFICATIONS ADMIN ===== */

.notification-actions {
    display: grid;
    gap: 7px;
    min-width: 130px;
}

.notification-actions form {
    margin: 0;
}

.notification-mini-btn {
    width: 100%;
    min-height: 34px;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.notification-mini-btn.send {
    background: #dcfce7;
    color: #166534;
}

.notification-mini-btn.cancel {
    background: #fee2e2;
    color: #991b1b;
}

/* ===== DASHBOARD MAIN GRID FLEXÍVEL ===== */

.dashboard-grid-main {
    grid-template-columns: repeat(5, minmax(160px, 1fr));
}

@media (max-width: 1400px) {
    .dashboard-grid-main {
        grid-template-columns: repeat(4, minmax(160px, 1fr));
    }
}

@media (max-width: 1050px) {
    .dashboard-grid-main {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

@media (max-width: 560px) {
    .dashboard-grid-main {
        grid-template-columns: 1fr;
    }
}

/* ===== PROPOSTA SER TIGRE PREMIUM ===== */

.proposal-body {
    margin: 0;
    background: #eef4f8;
    color: #0c2f4e;
    font-family: Arial, Helvetica, sans-serif;
}

.proposal-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.proposal-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 57, 101, 0.08);
}

.proposal-nav-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.proposal-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.proposal-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    background: #003965;
    border-radius: 16px;
    padding: 6px;
}

.proposal-brand strong {
    display: block;
    color: #003965;
    font-size: 16px;
    font-weight: 700;
}

.proposal-brand span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.proposal-nav-cta,
.proposal-main-btn,
.proposal-secondary-btn {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    transition: .18s ease;
}

.proposal-nav-cta,
.proposal-main-btn {
    background: #ffc928;
    color: #003965;
    box-shadow: 0 10px 24px rgba(255, 201, 40, .22);
}

.proposal-secondary-btn {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
}

.proposal-secondary-btn.light {
    background: #fff;
    color: #003965;
}

.proposal-main-btn:hover,
.proposal-secondary-btn:hover,
.proposal-nav-cta:hover {
    transform: translateY(-2px);
}

.proposal-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 80px;
    background: radial-gradient(circle at top right, rgba(0, 163, 108, .18), transparent 38%),
                linear-gradient(135deg, #002d54 0%, #006d93 55%, #00a36c 100%);
}

.proposal-hero-bg::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    right: -120px;
    top: -120px;
    background: rgba(255, 255, 255, .08);
}

.proposal-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 60px;
    align-items: center;
}

.proposal-kicker {
    display: inline-flex;
    margin-bottom: 18px;
    color: #ffc928;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.proposal-kicker.dark {
    color: #006d93;
}

.proposal-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: .98;
    letter-spacing: -2.8px;
    max-width: 760px;
}

.proposal-hero p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .86);
    max-width: 700px;
    font-size: 18px;
    line-height: 1.65;
}

.proposal-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.proposal-trust-row {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 14px;
    max-width: 700px;
}

.proposal-trust-row div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .12);
}

.proposal-trust-row strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.proposal-trust-row span {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    margin-top: 5px;
}

.proposal-phone-wrap {
    position: relative;
    min-height: 620px;
}

.proposal-phone {
    width: 330px;
    margin: 0 auto;
    padding: 14px;
    border-radius: 42px;
    background: #091e32;
    box-shadow: 0 34px 80px rgba(0, 0, 0, .34);
    transform: rotate(2deg);
}

.phone-screen {
    min-height: 600px;
    border-radius: 32px;
    background: #eef4f8;
    overflow: hidden;
}

.phone-hero {
    margin: 12px;
    border-radius: 28px;
    padding: 18px;
    background: linear-gradient(135deg, #002d54 0%, #006d93 55%, #00a36c 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.phone-hero::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -20px;
    top: -30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.phone-top {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.phone-logo {
    width: 44px;
    height: 44px;
    background: #003965;
    border: 1px solid #fff;
    border-radius: 14px;
    padding: 5px;
}

.phone-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.phone-top strong {
    display: block;
    font-size: 13px;
}

.phone-top span {
    display: block;
    font-size: 9px;
    opacity: .8;
}

.phone-top em {
    margin-left: auto;
    width: 28px;
    height: 28px;
    background: #ffc928;
    color: #003965;
    border-radius: 999px;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-hero small {
    display: block;
    margin-top: 28px;
    opacity: .82;
    font-size: 11px;
    position: relative;
    z-index: 2;
}

.phone-hero h2 {
    margin: 8px 0 0;
    font-size: 28px;
    line-height: .98;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}

.phone-hero p {
    margin: 14px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .82);
    position: relative;
    z-index: 2;
}

.phone-notification {
    margin-top: 18px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .14);
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.phone-notification i {
    width: 34px;
    height: 34px;
    background: #ffc928;
    color: #003965;
    border-radius: 12px;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-notification strong {
    display: block;
    font-size: 11px;
}

.phone-notification span {
    display: block;
    font-size: 9px;
    opacity: .78;
    margin-top: 3px;
}

.phone-actions {
    padding: 0 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.phone-actions div {
    height: 72px;
    background: #fff;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(0, 57, 101, .08);
}

.phone-actions span {
    display: block;
    font-size: 9px;
    color: #003965;
    font-weight: 700;
}

.phone-card {
    margin: 18px 12px;
    padding: 16px;
    background: #fff;
    border-radius: 22px;
}

.phone-card strong {
    display: block;
    color: #003965;
}

.phone-card span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 11px;
}

.proposal-floating-card {
    position: absolute;
    padding: 16px 18px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
    min-width: 210px;
}

.proposal-floating-card strong {
    display: block;
    color: #003965;
    font-size: 14px;
    font-weight: 700;
}

.proposal-floating-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-top: 5px;
}

.card-one {
    left: -10px;
    top: 110px;
}

.card-two {
    right: -10px;
    bottom: 110px;
}

.proposal-section {
    padding: 86px 0;
}

.proposal-section-head {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.proposal-section-head.left {
    margin-left: 0;
    text-align: left;
}

.proposal-section-head span {
    display: inline-flex;
    color: #006d93;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.proposal-section-head h2,
.proposal-impact-grid h2,
.final-card h2 {
    margin: 0;
    color: #003965;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -1.6px;
}

.proposal-section-head p,
.proposal-impact-grid p,
.final-card p {
    margin: 18px 0 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.65;
}

.proposal-modules-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.proposal-modules-grid article {
    background: #fff;
    border: 1px solid rgba(0, 57, 101, .08);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(0, 57, 101, .06);
}

.proposal-modules-grid i {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #eef8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 24px;
    margin-bottom: 18px;
}

.proposal-modules-grid h3 {
    margin: 0;
    color: #003965;
    font-size: 18px;
}

.proposal-modules-grid p {
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.55;
    font-size: 14px;
}

.proposal-impact-section {
    padding: 80px 0;
    background: #fff;
}

.proposal-impact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 60px;
    align-items: center;
}

.proposal-impact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.proposal-impact-cards div {
    padding: 24px;
    border-radius: 26px;
    background: linear-gradient(135deg, #eef8ff, #f7fbff);
    border: 1px solid rgba(0, 57, 101, .08);
}

.proposal-impact-cards strong {
    display: block;
    color: #003965;
    font-size: 22px;
    font-weight: 700;
}

.proposal-impact-cards span {
    display: block;
    color: #64748b;
    margin-top: 8px;
    line-height: 1.45;
}

.proposal-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.proposal-price-card {
    position: relative;
    background: #fff;
    border-radius: 32px;
    padding: 34px;
    border: 1px solid rgba(0, 57, 101, .10);
    box-shadow: 0 18px 48px rgba(0, 57, 101, .08);
}

.proposal-price-card.featured {
    background: linear-gradient(135deg, #002d54, #006d93 58%, #00a36c);
    color: #fff;
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(0, 57, 101, .25);
}

.recommended-badge {
    position: absolute;
    right: 24px;
    top: 24px;
    background: #ffc928;
    color: #003965;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.price-tag {
    display: inline-flex;
    min-height: 34px;
    padding: 0 12px;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
}

.price-tag.basic {
    background: #e0f2fe;
    color: #075985;
}

.price-tag.complete {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.proposal-price-card h3 {
    margin: 0;
    color: #003965;
    font-size: 30px;
    letter-spacing: -1px;
}

.proposal-price-card.featured h3 {
    color: #fff;
}

.proposal-price-card p {
    color: #64748b;
    line-height: 1.6;
    margin: 14px 0 24px;
}

.proposal-price-card.featured p {
    color: rgba(255, 255, 255, .84);
}

.price-value span {
    display: block;
    color: #64748b;
    font-weight: 700;
    font-size: 13px;
}

.proposal-price-card.featured .price-value span {
    color: rgba(255, 255, 255, .72);
}

.price-value strong {
    display: block;
    margin-top: 4px;
    color: #003965;
    font-size: 48px;
    letter-spacing: -1.8px;
    line-height: 1;
}

.proposal-price-card.featured .price-value strong {
    color: #ffc928;
}

.price-monthly {
    margin-top: 16px;
    padding: 14px;
    border-radius: 18px;
    background: #f3f8fc;
    color: #003965;
    font-weight: 700;
}

.proposal-price-card.featured .price-monthly {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.proposal-price-card ul {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.proposal-price-card li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #0c2f4e;
    font-weight: 700;
    font-size: 14px;
}

.proposal-price-card.featured li {
    color: #fff;
}

.proposal-price-card li::before {
    content: "✓";
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    background: #dcfce7;
    color: #166534;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.price-note {
    margin-top: 24px;
    padding: 16px;
    border-radius: 18px;
    background: #fff7df;
    color: #7c5700;
    line-height: 1.5;
    font-size: 13px;
    font-weight: 700;
}

.price-note.highlight {
    background: rgba(255, 201, 40, .16);
    color: #fff;
    border: 1px solid rgba(255, 201, 40, .28);
}

.proposal-comparison-section {
    padding: 80px 0;
    background: #fff;
}

.proposal-table-card {
    overflow-x: auto;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 18px 48px rgba(0, 57, 101, .08);
    border: 1px solid rgba(0, 57, 101, .08);
}

.proposal-table-card table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.proposal-table-card th,
.proposal-table-card td {
    padding: 18px 22px;
    text-align: left;
    border-bottom: 1px solid #e7eef5;
}

.proposal-table-card th {
    background: #f4f8fb;
    color: #003965;
    font-weight: 700;
}

.proposal-table-card td {
    color: #0c2f4e;
    font-weight: 700;
}

.proposal-timeline-section {
    padding: 86px 0;
}

.proposal-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.proposal-timeline div {
    padding: 26px;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 16px 42px rgba(0, 57, 101, .07);
}

.proposal-timeline strong {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #003965;
    color: #fff;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.proposal-timeline h3 {
    margin: 0;
    color: #003965;
}

.proposal-timeline p {
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.5;
}

.proposal-final-cta {
    padding: 80px 0;
    background: #002d54;
}

.final-card {
    padding: 54px;
    border-radius: 36px;
    background: linear-gradient(135deg, #ffffff, #eef8ff);
    text-align: center;
}

.final-card span {
    display: inline-flex;
    color: #006d93;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.final-card h2 {
    max-width: 700px;
    margin: 0 auto;
}

.final-card p {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.final-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 1050px) {
    .proposal-hero-grid,
    .proposal-impact-grid {
        grid-template-columns: 1fr;
    }

    .proposal-phone-wrap {
        min-height: auto;
    }

    .proposal-floating-card {
        display: none;
    }

    .proposal-modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proposal-pricing-grid {
        grid-template-columns: 1fr;
    }

    .proposal-price-card.featured {
        transform: none;
    }

    .proposal-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .proposal-container,
    .proposal-nav-inner {
        width: min(100% - 28px, 1180px);
    }

    .proposal-nav-cta {
        display: none;
    }

    .proposal-hero {
        padding: 52px 0;
    }

    .proposal-hero h1 {
        letter-spacing: -1.4px;
    }

    .proposal-trust-row,
    .proposal-modules-grid,
    .proposal-impact-cards,
    .proposal-timeline {
        grid-template-columns: 1fr;
    }

    .proposal-phone {
        width: 100%;
        max-width: 330px;
    }

    .proposal-price-card,
    .final-card {
        padding: 26px;
    }

    .price-value strong {
        font-size: 38px;
    }
}

/* ===== PIX SETTINGS ===== */

.pix-test-card {
    margin-top: 24px;
    background: #ffffff;
    border: 1px solid var(--ser-border);
    border-radius: 24px;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
    box-shadow: 0 10px 28px rgba(0, 42, 84, 0.06);
}

.pix-test-card h2 {
    margin: 0;
    color: var(--ser-dark-blue);
}

.pix-test-card p {
    margin: 8px 0 16px;
    color: var(--ser-muted);
}

.pix-test-card textarea {
    width: 100%;
    min-height: 150px;
    border: 1px solid var(--ser-border);
    border-radius: 16px;
    padding: 14px;
    font-size: 13px;
    font-family: monospace;
    resize: vertical;
    background: #f8fbff;
    color: var(--ser-text);
}

.pix-test-qr {
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    background: #f8fbff;
    border: 1px dashed var(--ser-border);
}

.pix-test-qr img {
    width: 210px;
    height: 210px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 16px;
    padding: 8px;
}

.pix-test-qr span {
    color: var(--ser-muted);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 850px) {
    .pix-test-card {
        grid-template-columns: 1fr;
    }
}

/* ===== ADMIN PAYMENTS ===== */

.status-pending {
    background: #fff7ed;
    color: #c2410c;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-inactive {
    background: #fee2e2;
    color: #991b1b;
}

.btn-success {
    background: #16a34a !important;
    color: #ffffff !important;
}

.btn-danger {
    background: #dc2626 !important;
    color: #ffffff !important;
}

.pix-admin-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.pix-admin-info,
.pix-admin-qr {
    background: #ffffff;
    border: 1px solid var(--ser-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0, 42, 84, 0.06);
}

.pix-admin-info h2 {
    margin: 0 0 20px;
    color: var(--ser-dark-blue);
}

.pix-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.pix-info-grid div {
    background: #f8fbff;
    border: 1px solid var(--ser-border);
    border-radius: 16px;
    padding: 14px;
}

.pix-info-grid span {
    display: block;
    color: var(--ser-muted);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
}

.pix-info-grid strong {
    color: var(--ser-dark-blue);
    font-size: 14px;
}

.pix-copy-label {
    display: block;
    color: var(--ser-dark-blue);
    font-weight: 700;
    margin-bottom: 8px;
}

.pix-admin-info textarea {
    width: 100%;
    min-height: 170px;
    border: 1px solid var(--ser-border);
    border-radius: 16px;
    padding: 14px;
    font-family: monospace;
    resize: vertical;
    background: #f8fbff;
}

.pix-admin-qr {
    display: grid;
    place-items: center;
    gap: 12px;
}

.pix-admin-qr img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    border-radius: 18px;
}

.pix-admin-qr span {
    color: var(--ser-muted);
    font-weight: 700;
}

@media (max-width: 700px) {
    .pix-admin-detail {
        grid-template-columns: 1fr;
    }

    .pix-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PUBLIC PIX CHECKOUT ===== */

.site-page {
    margin: 0;
    background: #eef4f8;
    font-family: Arial, Helvetica, sans-serif;
    color: #0c2f4e;
}

.checkout-page {
    min-height: 100vh;
}

.checkout-hero {
    min-height: 100vh;
    padding: 40px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top right, rgba(0, 163, 108, .18), transparent 38%),
        linear-gradient(135deg, #002d54 0%, #006d93 58%, #00a36c 100%);
}

.checkout-card {
    width: min(980px, 100%);
    background: #ffffff;
    border-radius: 34px;
    padding: 34px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .24);
}

.checkout-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.checkout-brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    background: #003965;
    border-radius: 18px;
    padding: 7px;
}

.checkout-brand strong {
    display: block;
    color: #003965;
    font-size: 18px;
    font-weight: 700;
}

.checkout-brand span {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    margin-top: 3px;
}

.checkout-card h1 {
    margin: 0;
    color: #003965;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.05;
    letter-spacing: -1.4px;
}

.checkout-card > p {
    margin: 16px 0 0;
    max-width: 720px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.6;
}

.checkout-summary {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.checkout-summary div {
    background: #f8fbff;
    border: 1px solid #dce8f2;
    border-radius: 18px;
    padding: 16px;
}

.checkout-summary span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.checkout-summary strong {
    display: block;
    color: #003965;
    font-size: 15px;
    font-weight: 700;
}

.checkout-pix-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
}

.checkout-qr,
.checkout-copy {
    background: #f8fbff;
    border: 1px solid #dce8f2;
    border-radius: 24px;
    padding: 22px;
}

.checkout-qr {
    display: grid;
    place-items: center;
    gap: 12px;
}

.checkout-qr img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 18px;
    padding: 8px;
}

.checkout-qr span {
    color: #64748b;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
}

.checkout-copy label {
    display: block;
    color: #003965;
    font-weight: 700;
    margin-bottom: 10px;
}

.checkout-copy textarea {
    width: 100%;
    min-height: 190px;
    border: 1px solid #dce8f2;
    border-radius: 18px;
    padding: 14px;
    resize: vertical;
    font-family: monospace;
    font-size: 13px;
    color: #0c2f4e;
    background: #ffffff;
    box-sizing: border-box;
}

.checkout-copy button {
    margin-top: 14px;
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 16px;
    background: #ffc928;
    color: #003965;
    font-weight: 700;
    cursor: pointer;
}

.checkout-copy small {
    display: block;
    margin-top: 12px;
    color: #64748b;
    font-weight: 700;
}

.checkout-warning {
    margin-top: 22px;
    padding: 16px;
    border-radius: 18px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 700;
    line-height: 1.5;
}

.checkout-back {
    display: inline-flex;
    margin-top: 22px;
    color: #003965;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 850px) {
    .checkout-card {
        padding: 24px;
    }

    .checkout-summary,
    .checkout-pix-grid {
        grid-template-columns: 1fr;
    }

    .checkout-qr img {
        width: 220px;
        height: 220px;
    }
}

/* ===== SER TIGRE PUBLIC SITE ===== */

.ser-site-body {
    margin: 0;
    background: #eef4f8;
    color: #0c2f4e;
    font-family: Arial, Helvetica, sans-serif;
}

.ser-site-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.ser-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 57, 101, .08);
}

.ser-site-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.ser-site-brand,
.ser-footer-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.ser-site-brand img {
    height: 58px;
    width: auto;
    max-width: 290px;
    object-fit: contain;
    display: block;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.ser-footer-brand img {
    height: 64px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    display: block;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

@media (max-width: 760px) {
    .ser-site-brand img {
        height: 46px;
        max-width: 230px;
    }

    .ser-footer-brand img {
        height: 52px;
        max-width: 260px;
    }
}

.ser-site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.ser-site-nav a {
    color: #0c2f4e;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.ser-site-login-btn,
.ser-primary-btn,
.ser-secondary-btn {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
    transition: .18s ease;
}

.ser-site-login-btn,
.ser-primary-btn {
    background: #ffc928;
    color: #003965;
    box-shadow: 0 10px 24px rgba(255, 201, 40, .24);
}

.ser-secondary-btn {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
}

.ser-secondary-btn.dark {
    background: #003965;
    color: #fff;
}

.ser-primary-btn:hover,
.ser-secondary-btn:hover,
.ser-site-login-btn:hover {
    transform: translateY(-2px);
}

.ser-hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0 90px;
    background:
        radial-gradient(circle at top right, rgba(0, 163, 108, .22), transparent 38%),
        linear-gradient(135deg, #002d54 0%, #006d93 58%, #00a36c 100%);
}

.ser-hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.circle-one {
    width: 360px;
    height: 360px;
    right: -120px;
    top: -120px;
}

.circle-two {
    width: 220px;
    height: 220px;
    left: -80px;
    bottom: 40px;
}

.ser-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 70px;
    align-items: center;
}

.ser-kicker {
    display: inline-flex;
    margin-bottom: 18px;
    color: #ffc928;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.ser-kicker.dark {
    color: #006d93;
}

.ser-hero-content h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 70px);
    line-height: .97;
    letter-spacing: -2.8px;
}

.ser-hero-content p {
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
    line-height: 1.65;
    max-width: 720px;
}

.ser-hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ser-hero-actions.center {
    justify-content: center;
}

.ser-hero-stats {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ser-hero-stats div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .13);
}

.ser-hero-stats strong {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.ser-hero-stats span {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    margin-top: 4px;
}

.ser-hero-card-wrap {
    position: relative;
}

.ser-app-preview {
    width: 330px;
    margin: 0 auto;
    background: #eef4f8;
    border: 12px solid #091e32;
    border-radius: 44px;
    min-height: 610px;
    box-shadow: 0 34px 80px rgba(0, 0, 0, .34);
    overflow: hidden;
    transform: rotate(2deg);
}

.ser-app-hero {
    margin: 12px;
    padding: 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, #002d54 0%, #006d93 58%, #00a36c 100%);
    color: #fff;
}

.ser-app-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ser-app-top img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #003965;
    border: 1px solid #fff;
    border-radius: 14px;
    padding: 5px;
}

.ser-app-top strong {
    display: block;
    font-size: 13px;
}

.ser-app-top span {
    display: block;
    font-size: 9px;
    opacity: .78;
}

.ser-app-top em {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #ffc928;
    color: #003965;
    font-style: normal;
    font-weight: 700;
    display: grid;
    place-items: center;
    font-size: 12px;
}

.ser-app-hero small {
    display: block;
    margin-top: 28px;
    color: rgba(255, 255, 255, .82);
}

.ser-app-hero h2 {
    margin: 8px 0 0;
    font-size: 28px;
    line-height: .98;
    letter-spacing: -1px;
}

.ser-app-hero p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    line-height: 1.5;
}

.ser-app-notification {
    margin-top: 18px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .14);
    display: flex;
    gap: 10px;
}

.ser-app-notification i {
    width: 34px;
    height: 34px;
    background: #ffc928;
    color: #003965;
    border-radius: 12px;
    font-style: normal;
    display: grid;
    place-items: center;
}

.ser-app-notification strong {
    display: block;
    font-size: 11px;
}

.ser-app-notification span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, .78);
    font-size: 9px;
}

.ser-app-shortcuts {
    padding: 0 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.ser-app-shortcuts div {
    height: 74px;
    background: #fff;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 18px;
    box-shadow: 0 10px 22px rgba(0, 57, 101, .08);
}

.ser-app-shortcuts span {
    display: block;
    font-size: 9px;
    color: #003965;
    font-weight: 700;
}

.ser-app-card {
    margin: 18px 12px;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
}

.ser-app-card strong {
    display: block;
    color: #003965;
}

.ser-app-card span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 11px;
}

.ser-floating-badge {
    position: absolute;
    padding: 16px 18px;
    min-width: 210px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
}

.ser-floating-badge strong {
    display: block;
    color: #003965;
    font-size: 14px;
    font-weight: 700;
}

.ser-floating-badge span {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 12px;
}

.badge-one {
    top: 80px;
    left: -25px;
}

.badge-two {
    bottom: 110px;
    right: -20px;
}

.ser-section,
.ser-events-section,
.ser-sponsors-section {
    padding: 86px 0;
}

.ser-section-head {
    max-width: 780px;
    margin: 0 auto 42px;
    text-align: center;
}

.ser-section-head span {
    display: inline-flex;
    color: #006d93;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ser-section-head h2,
.ser-section-text h2,
.ser-ade-card h2,
.ser-final-card h2 {
    margin: 0;
    color: #003965;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: -1.6px;
}

.ser-section-head p,
.ser-section-text p,
.ser-ade-card p,
.ser-final-card p {
    margin: 18px 0 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.65;
}

.ser-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 70px;
    align-items: center;
}

.ser-check-list {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.ser-check-list li {
    display: flex;
    gap: 10px;
    color: #0c2f4e;
    font-weight: 700;
}

.ser-check-list li::before {
    content: "✓";
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    display: grid;
    place-items: center;
    font-size: 13px;
}

.ser-card-preview {
    display: flex;
    justify-content: center;
}

.ser-member-card {
    width: 300px;
    padding: 22px;
    border-radius: 28px;
    background: linear-gradient(135deg, #002d54, #006d93 58%, #00a36c);
    color: #fff;
    box-shadow: 0 30px 70px rgba(0, 57, 101, .25);
}

.ser-member-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ser-member-card-header img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    background: #003965;
    border-radius: 16px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.5);
}

.ser-member-card-header strong,
.ser-member-card-header span {
    display: block;
}

.ser-member-card-header span {
    font-size: 12px;
    opacity: .78;
}

.ser-member-photo {
    width: 96px;
    height: 96px;
    margin: 26px auto 14px;
    border-radius: 26px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.20);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.ser-member-card h3 {
    margin: 0;
    text-align: center;
    font-size: 20px;
}

.ser-member-data {
    margin-top: 18px;
    display: grid;
    gap: 8px;
}

.ser-member-data span {
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.12);
    font-size: 12px;
    font-weight: 700;
}

.ser-qr-fake {
    width: 74px;
    height: 74px;
    margin: 18px auto 0;
    border-radius: 18px;
    background: #fff;
    color: #003965;
    display: grid;
    place-items: center;
    font-weight: 700;
}

.ser-events-section,
.ser-sponsors-section {
    background: #fff;
}

.ser-events-grid,
.ser-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ser-event-card,
.ser-benefit-card,
.ser-empty-card {
    background: #fff;
    border: 1px solid rgba(0, 57, 101, .08);
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(0, 57, 101, .08);
    overflow: hidden;
}

.ser-event-image {
    height: 190px;
    background: #003965;
}

.ser-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ser-event-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 50px;
}

.ser-event-content {
    padding: 22px;
}

.ser-event-date {
    display: inline-flex;
    color: #006d93;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ser-event-content h3,
.ser-benefit-card h3 {
    margin: 0;
    color: #003965;
    font-size: 20px;
}

.ser-event-content p,
.ser-benefit-card p {
    color: #64748b;
    line-height: 1.55;
}

.ser-event-content a {
    color: #003965;
    font-weight: 700;
    text-decoration: none;
}

.ser-center-action {
    margin-top: 34px;
    text-align: center;
}

.ser-benefit-card {
    padding: 24px;
}

.ser-benefit-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: #eef8ff;
    display: grid;
    place-items: center;
    font-size: 28px;
    margin-bottom: 18px;
}

.ser-benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ser-empty-card {
    grid-column: 1 / -1;
    padding: 34px;
    text-align: center;
}

.ser-empty-card i {
    display: block;
    font-style: normal;
    font-size: 42px;
    margin-bottom: 12px;
}

.ser-empty-card strong {
    display: block;
    color: #003965;
    font-size: 20px;
    font-weight: 700;
}

.ser-empty-card span {
    display: block;
    margin-top: 8px;
    color: #64748b;
}

.ser-ade-card {
    padding: 54px;
    border-radius: 36px;
    background:
        radial-gradient(circle at top right, rgba(255, 201, 40, .20), transparent 35%),
        linear-gradient(135deg, #ffffff, #eef8ff);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 40px;
    align-items: center;
    box-shadow: 0 20px 60px rgba(0, 57, 101, .08);
}

.ser-ade-features {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ser-ade-features div {
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff;
    color: #003965;
    font-weight: 700;
}

.ser-ade-visual {
    height: 220px;
    border-radius: 34px;
    background: linear-gradient(135deg, #003965, #00a36c);
    display: grid;
    place-items: center;
    box-shadow: 0 24px 54px rgba(0, 57, 101, .22);
}

.ser-ade-visual span {
    font-size: 74px;
}

.ser-sponsors-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.ser-sponsor-logo {
    width: 170px;
    height: 96px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0, 57, 101, .08);
    display: grid;
    place-items: center;
    padding: 18px;
    box-shadow: 0 14px 34px rgba(0, 57, 101, .06);
}

.ser-sponsor-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ser-sponsor-logo strong {
    color: #003965;
    text-align: center;
}

.ser-final-cta {
    padding: 86px 0;
    background: #002d54;
}

.ser-final-card {
    padding: 58px;
    border-radius: 38px;
    background: linear-gradient(135deg, #fff, #eef8ff);
    text-align: center;
}

.ser-final-card span {
    display: inline-flex;
    color: #006d93;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ser-final-card h2 {
    max-width: 880px;
    margin: 0 auto;
}

.ser-final-card p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.ser-site-footer {
    background: #071d30;
    color: #fff;
}

.ser-site-footer-grid {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 32px;
}

.ser-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ser-footer-brand strong {
    color: #fff;
}

.ser-footer-brand span {
    color: rgba(255,255,255,.65);
}

.ser-site-footer p {
    color: rgba(255,255,255,.68);
    line-height: 1.6;
    max-width: 360px;
}

.ser-site-footer h3 {
    margin: 0 0 16px;
    color: #ffc928;
}

.ser-site-footer a,
.ser-site-footer span {
    display: block;
    color: rgba(255,255,255,.72);
    text-decoration: none;
    margin-top: 9px;
    font-weight: 600;
}

.ser-site-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.10);
}

.ser-site-footer-bottom .ser-site-container {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

@media (max-width: 1050px) {
    .ser-hero-grid,
    .ser-feature-grid,
    .ser-ade-card {
        grid-template-columns: 1fr;
    }

    .ser-hero-card-wrap {
        display: none;
    }

    .ser-events-grid,
    .ser-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ser-site-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .ser-site-container {
        width: min(100% - 28px, 1180px);
    }

    .ser-site-nav {
        display: none;
    }

    .ser-site-header-actions {
        display: none;
    }

    .ser-hero-section {
        padding: 56px 0 66px;
    }

    .ser-hero-content h1 {
        letter-spacing: -1.5px;
    }

    .ser-hero-stats,
    .ser-events-grid,
    .ser-benefits-grid,
    .ser-site-footer-grid {
        grid-template-columns: 1fr;
    }

    .ser-section,
    .ser-events-section,
    .ser-sponsors-section {
        padding: 64px 0;
    }

    .ser-ade-card,
    .ser-final-card {
        padding: 28px;
    }

    .ser-site-footer-bottom .ser-site-container {
        padding: 18px 0;
    }
}

/* ===== PUBLIC EVENT PAGES UX ===== */

.ser-page-hero {
    padding: 76px 0 84px;
    background:
        radial-gradient(circle at top right, rgba(0, 163, 108, .22), transparent 38%),
        linear-gradient(135deg, #002d54 0%, #006d93 58%, #00a36c 100%);
    color: #ffffff;
}

.ser-page-hero h1 {
    max-width: 880px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -2.2px;
}

.ser-page-hero p {
    max-width: 760px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 18px;
    line-height: 1.65;
}

.ser-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    font-weight: 600;
}

.ser-breadcrumb a {
    color: #ffc928;
    text-decoration: none;
}

.ser-breadcrumb strong {
    color: rgba(255, 255, 255, .88);
}

.event-detail-actions-top {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.ser-event-price {
    margin: 14px 0;
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff7df;
    color: #7c5700;
    font-size: 13px;
    font-weight: 700;
}

.event-detail-section {
    padding: 70px 0;
    background: #eef4f8;
}

.event-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    align-items: start;
}

.event-detail-main-card,
.event-detail-side-card,
.event-registration-card {
    background: #ffffff;
    border: 1px solid rgba(0, 57, 101, .08);
    border-radius: 30px;
    box-shadow: 0 18px 48px rgba(0, 57, 101, .08);
    overflow: hidden;
}

.event-detail-banner {
    height: 360px;
    background: #003965;
}

.event-detail-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-detail-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 80px;
    color: #ffffff;
}

.event-detail-content {
    padding: 30px;
}

.event-detail-content h2 {
    margin: 0 0 14px;
    color: #003965;
    font-size: 30px;
    letter-spacing: -1px;
}

.event-detail-content p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
    font-size: 16px;
}

.event-detail-side-card {
    padding: 24px;
    position: sticky;
    top: 100px;
}

.event-detail-side-card h3 {
    margin: 0 0 18px;
    color: #003965;
    font-size: 22px;
}

.event-info-list {
    display: grid;
    gap: 12px;
}

.event-info-list div {
    padding: 14px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #dce8f2;
}

.event-info-list span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
}

.event-info-list strong {
    display: block;
    color: #003965;
    font-size: 14px;
}

.event-side-btn {
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
}

.event-back-link {
    display: inline-flex;
    margin-top: 16px;
    color: #003965;
    text-decoration: none;
    font-weight: 700;
}

.event-registration-section {
    padding: 70px 0 90px;
    background: #ffffff;
}

.event-registration-card {
    padding: 34px;
}

.event-registration-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.site-form-group {
    display: grid;
    gap: 8px;
}

.site-form-group-full {
    grid-column: 1 / -1;
}

.site-form-group label {
    color: #003965;
    font-size: 14px;
    font-weight: 700;
}

.site-form-group input,
.site-form-group select,
.site-form-group textarea {
    width: 100%;
    border: 1px solid #dce8f2;
    border-radius: 16px;
    padding: 14px;
    color: #0c2f4e;
    background: #f8fbff;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

.site-form-group input:focus,
.site-form-group select:focus,
.site-form-group textarea:focus {
    border-color: #006d93;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 109, 147, .08);
}

.event-submit-button {
    grid-column: 1 / -1;
    min-height: 54px;
    border: none;
    border-radius: 18px;
    background: #ffc928;
    color: #003965;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(255, 201, 40, .24);
}

@media (max-width: 700px) {
    .event-detail-grid,
    .event-registration-form {
        grid-template-columns: 1fr;
    }

    .event-detail-side-card {
        position: static;
    }

    .event-detail-banner {
        height: 260px;
    }
}

/* ===== HOTFIX AREA DO ASSOCIADO LOGIN ===== */

.associate-login-page {
    min-height: calc(100vh - 80px) !important;
    background: #eef4f8 !important;
}

.associate-login-hero {
    min-height: 760px !important;
    padding: 70px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background:
        radial-gradient(circle at top right, rgba(0, 163, 108, .22), transparent 38%),
        linear-gradient(135deg, #002d54 0%, #006d93 58%, #00a36c 100%) !important;
}

.associate-login-card {
    width: min(520px, 100%) !important;
    background: #ffffff !important;
    border-radius: 34px !important;
    padding: 36px !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .24) !important;
    box-sizing: border-box !important;
}

.associate-login-brand {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 26px !important;
}


.associate-login-brand strong {
    display: block !important;
    color: #003965 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

.associate-login-brand span {
    display: block !important;
    margin-top: 4px !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.associate-login-card h1 {
    margin: 0 !important;
    color: #003965 !important;
    font-size: 34px !important;
    line-height: 1.08 !important;
    letter-spacing: -1px !important;
    font-weight: 700 !important;
}

.associate-login-card p {
    margin: 16px 0 0 !important;
    color: #64748b !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.associate-login-form {
    margin-top: 26px !important;
    display: grid !important;
    gap: 16px !important;
}

.associate-login-form .site-form-group {
    display: grid !important;
    gap: 8px !important;
}

.associate-login-form .site-form-group label {
    color: #003965 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.associate-login-form .site-form-group input {
    width: 100% !important;
    height: 54px !important;
    border: 1px solid #dce8f2 !important;
    border-radius: 16px !important;
    padding: 0 16px !important;
    color: #0c2f4e !important;
    background: #f8fbff !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.associate-login-form .site-form-group input:focus {
    border-color: #006d93 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(0, 109, 147, .08) !important;
}

.associate-login-form .event-submit-button {
    width: 100% !important;
    min-height: 56px !important;
    border: none !important;
    border-radius: 18px !important;
    background: #ffc928 !important;
    color: #003965 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 12px 26px rgba(255, 201, 40, .24) !important;
}

.associate-back-link {
    display: inline-flex !important;
    margin-top: 20px !important;
    color: #003965 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

@media (max-width: 680px) {
    .associate-login-hero {
        min-height: auto !important;
        padding: 42px 14px !important;
    }

    .associate-login-card {
        padding: 26px !important;
        border-radius: 28px !important;
    }

    .associate-login-card h1 {
        font-size: 28px !important;
    }
}

/* ===== ASSOCIATE PANEL PREMIUM HOTFIX ===== */

.associate-panel-body {
    background: #eef4f8 !important;
}

.associate-panel-page {
    background: #eef4f8 !important;
    min-height: calc(100vh - 80px) !important;
    padding: 28px !important;
}

.associate-panel-shell {
    width: min(1280px, 100%) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 290px minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
}

.associate-panel-sidebar {
    position: sticky !important;
    top: 104px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 57, 101, .08) !important;
    border-radius: 30px !important;
    padding: 24px !important;
    box-shadow: 0 18px 48px rgba(0, 57, 101, .08) !important;
}

.associate-panel-profile {
    text-align: center !important;
    padding-bottom: 22px !important;
    border-bottom: 1px solid #e2eaf2 !important;
}

.associate-avatar {
    width: 86px !important;
    height: 86px !important;
    margin: 0 auto 14px !important;
    border-radius: 28px !important;
    background: linear-gradient(135deg, #003965, #00a36c) !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    color: #ffffff !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    box-shadow: 0 16px 34px rgba(0, 57, 101, .18) !important;
}

.associate-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.associate-panel-profile strong {
    display: block !important;
    color: #003965 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.associate-panel-profile small {
    display: block !important;
    margin-top: 4px !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.associate-status-pill {
    width: fit-content !important;
    margin: 14px auto 0 !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.associate-status-pill.is-active {
    background: #dcfce7 !important;
    color: #166534 !important;
}

.associate-status-pill.is-blocked {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

.associate-panel-menu {
    margin-top: 20px !important;
    display: grid !important;
    gap: 10px !important;
}

.associate-panel-menu a {
    min-height: 48px !important;
    padding: 0 14px !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: #0c2f4e !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    background: transparent !important;
    transition: .18s ease !important;
}

.associate-panel-menu a:hover,
.associate-panel-menu a.active {
    background: #f2f7fb !important;
    color: #003965 !important;
}

.associate-panel-menu span {
    width: 28px !important;
    height: 28px !important;
    display: grid !important;
    place-items: center !important;
}

.associate-panel-content {
    min-width: 0 !important;
}

.associate-panel-topbar {
    background:
        radial-gradient(circle at top right, rgba(255, 201, 40, .20), transparent 34%),
        linear-gradient(135deg, #002d54 0%, #006d93 58%, #00a36c 100%) !important;
    border-radius: 34px !important;
    padding: 36px !important;
    color: #ffffff !important;
    box-shadow: 0 24px 60px rgba(0, 57, 101, .20) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 24px !important;
}

.associate-panel-topbar span {
    display: inline-flex !important;
    color: #ffc928 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
}

.associate-panel-topbar h1 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(34px, 4vw, 52px) !important;
    line-height: 1 !important;
    letter-spacing: -1.6px !important;
    font-weight: 700 !important;
}

.associate-panel-topbar p {
    max-width: 720px !important;
    margin: 16px 0 0 !important;
    color: rgba(255,255,255,.82) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.associate-topbar-link {
    flex: 0 0 auto !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.14) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.associate-kpi-grid {
    margin-top: 22px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.associate-kpi-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 57, 101, .08) !important;
    border-radius: 24px !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    box-shadow: 0 14px 38px rgba(0, 57, 101, .07) !important;
}

.kpi-icon {
    width: 54px !important;
    height: 54px !important;
    border-radius: 18px !important;
    background: #eef8ff !important;
    display: grid !important;
    place-items: center !important;
    font-size: 24px !important;
}

.associate-kpi-card span {
    display: block !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
}

.associate-kpi-card strong {
    display: block !important;
    color: #003965 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.associate-main-grid {
    margin-top: 22px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr) !important;
    gap: 22px !important;
}

.associate-data-card,
.associate-card-widget,
.associate-shortcuts-grid article {
    background: #ffffff !important;
    border: 1px solid rgba(0, 57, 101, .08) !important;
    border-radius: 28px !important;
    padding: 28px !important;
    box-shadow: 0 18px 48px rgba(0, 57, 101, .08) !important;
}

.associate-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 22px !important;
}

.associate-card-header h2,
.associate-card-widget h2,
.associate-shortcuts-grid h3 {
    margin: 0 !important;
    color: #003965 !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
    font-weight: 700 !important;
}

.associate-card-header p,
.associate-card-widget p,
.associate-shortcuts-grid p {
    margin: 8px 0 0 !important;
    color: #64748b !important;
    line-height: 1.6 !important;
}

.associate-data-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.associate-data-grid div {
    background: #f8fbff !important;
    border: 1px solid #dce8f2 !important;
    border-radius: 18px !important;
    padding: 16px !important;
}

.associate-data-grid span {
    display: block !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

.associate-data-grid strong {
    display: block !important;
    color: #003965 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.associate-card-widget {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.card-widget-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 22px !important;
    display: grid !important;
    place-items: center !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
}

.associate-card-widget.available .card-widget-icon {
    background: #dcfce7 !important;
    color: #166534 !important;
}

.associate-card-widget.blocked .card-widget-icon {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

.associate-primary-btn {
    margin-top: 18px !important;
    min-height: 50px !important;
    padding: 0 20px !important;
    border-radius: 999px !important;
    background: #ffc928 !important;
    color: #003965 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    box-shadow: 0 12px 26px rgba(255, 201, 40, .22) !important;
}

.associate-shortcuts-grid {
    margin-top: 22px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.associate-shortcuts-grid article span {
    width: 54px !important;
    height: 54px !important;
    border-radius: 18px !important;
    background: #eef8ff !important;
    display: grid !important;
    place-items: center !important;
    font-size: 24px !important;
    margin-bottom: 16px !important;
}

.associate-shortcuts-grid a {
    display: inline-flex !important;
    margin-top: 10px !important;
    color: #003965 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

@media (max-width: 1050px) {
    .associate-panel-shell {
        grid-template-columns: 1fr !important;
    }

    .associate-panel-sidebar {
        position: static !important;
    }

    .associate-panel-menu {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    .associate-panel-menu a {
        justify-content: center !important;
        font-size: 0 !important;
    }

    .associate-panel-menu a span {
        font-size: 18px !important;
    }

    .associate-main-grid,
    .associate-kpi-grid,
    .associate-shortcuts-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 720px) {
    .associate-panel-page {
        padding: 16px !important;
    }

    .associate-panel-topbar {
        padding: 26px !important;
        flex-direction: column !important;
    }

    .associate-data-grid {
        grid-template-columns: 1fr !important;
    }

    .associate-panel-menu {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* ===== ASSOCIATE LAYOUT STRUCTURED ===== */

.associate-layout-body {
    margin: 0;
    background: #eef4f8;
    color: #0c2f4e;
    font-family: Arial, Helvetica, sans-serif;
}

.associate-top-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 57, 101, .08);
}

.associate-top-header-inner {
    width: min(1280px, calc(100% - 40px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.associate-top-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.associate-top-brand img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #003965;
    padding: 6px;
    object-fit: contain;
}

.associate-top-brand strong {
    display: block;
    color: #003965;
    font-size: 17px;
    font-weight: 700;
}

.associate-top-brand span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.associate-top-nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

.associate-top-nav a {
    color: #003965;
    text-decoration: none;
    font-weight: 700;
}

.associate-layout-page {
    padding: 28px;
}

.associate-layout-shell {
    width: min(1280px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.associate-sidebar {
    position: sticky;
    top: 106px;
    background: #ffffff;
    border: 1px solid rgba(0, 57, 101, .08);
    border-radius: 30px;
    padding: 24px;
    box-shadow: 0 18px 48px rgba(0, 57, 101, .08);
}

.associate-sidebar-profile {
    text-align: center;
    padding-bottom: 22px;
    border-bottom: 1px solid #e2eaf2;
}

.associate-sidebar-avatar {
    width: 86px;
    height: 86px;
    margin: 0 auto 14px;
    border-radius: 28px;
    background: linear-gradient(135deg, #003965, #00a36c);
    color: #ffffff;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-size: 34px;
    font-weight: 700;
}

.associate-sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.associate-sidebar-profile strong {
    display: block;
    color: #003965;
    font-size: 20px;
    font-weight: 700;
}

.associate-sidebar-profile small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.associate-sidebar-status {
    width: fit-content;
    margin: 14px auto 0;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.associate-sidebar-status.is-active {
    background: #dcfce7;
    color: #166534;
}

.associate-sidebar-status.is-blocked {
    background: #fee2e2;
    color: #991b1b;
}

.associate-sidebar-menu {
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.associate-sidebar-menu a {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0c2f4e;
    text-decoration: none;
    font-weight: 700;
}

.associate-sidebar-menu a:hover,
.associate-sidebar-menu a.active {
    background: #f2f7fb;
    color: #003965;
}

.associate-layout-content {
    min-width: 0;
}

.associate-page-header {
    background:
        radial-gradient(circle at top right, rgba(255, 201, 40, .20), transparent 34%),
        linear-gradient(135deg, #002d54 0%, #006d93 58%, #00a36c 100%);
    color: #ffffff;
    border-radius: 34px;
    padding: 36px;
    box-shadow: 0 24px 60px rgba(0, 57, 101, .20);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.associate-page-header span {
    display: inline-flex;
    color: #ffc928;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.associate-page-header h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -1.6px;
}

.associate-page-header p {
    max-width: 720px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.6;
}

.associate-header-action {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.22);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.associate-kpi-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.associate-kpi-card,
.associate-panel-card,
.associate-shortcuts-grid article {
    background: #ffffff;
    border: 1px solid rgba(0, 57, 101, .08);
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(0, 57, 101, .08);
}

.associate-kpi-card {
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.kpi-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #eef8ff;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.associate-kpi-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
}

.associate-kpi-card strong {
    color: #003965;
    font-size: 20px;
    font-weight: 700;
}

.associate-dashboard-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 22px;
}

.associate-panel-card {
    padding: 28px;
}

.associate-card-heading h2,
.associate-card-status-widget h2,
.associate-shortcuts-grid h3 {
    margin: 0;
    color: #003965;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.associate-card-heading p,
.associate-card-status-widget p,
.associate-shortcuts-grid p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.6;
}

.associate-data-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.associate-data-grid div {
    background: #f8fbff;
    border: 1px solid #dce8f2;
    border-radius: 18px;
    padding: 16px;
}

.associate-data-grid span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.associate-data-grid strong {
    display: block;
    color: #003965;
    font-size: 15px;
    font-weight: 700;
}

.associate-card-status-widget {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.associate-widget-icon {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 18px;
}

.associate-card-status-widget.available .associate-widget-icon {
    background: #dcfce7;
    color: #166534;
}

.associate-card-status-widget.blocked .associate-widget-icon {
    background: #fee2e2;
    color: #991b1b;
}

.associate-primary-btn {
    margin-top: 18px;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    background: #ffc928;
    color: #003965;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.associate-shortcuts-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.associate-shortcuts-grid article {
    padding: 26px;
}

.associate-shortcuts-grid article > span {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #eef8ff;
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.associate-shortcuts-grid a {
    display: inline-flex;
    margin-top: 10px;
    color: #003965;
    font-weight: 500;
    text-decoration: none;
}

.associate-layout-footer {
    width: min(1280px, calc(100% - 56px));
    margin: 0 auto 26px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 1050px) {
    .associate-layout-shell {
        grid-template-columns: 1fr;
    }

    .associate-sidebar {
        position: static;
    }

    .associate-sidebar-menu {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .associate-sidebar-menu a {
        justify-content: center;
        font-size: 0;
    }

    .associate-sidebar-menu a span {
        font-size: 18px;
    }

    .associate-dashboard-grid,
    .associate-kpi-grid,
    .associate-shortcuts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .associate-layout-page {
        padding: 16px;
    }

    .associate-top-header-inner {
        width: min(100% - 28px, 1280px);
    }

    .associate-top-nav {
        display: none;
    }

    .associate-page-header {
        padding: 26px;
        flex-direction: column;
    }

    .associate-data-grid {
        grid-template-columns: 1fr;
    }

    .associate-sidebar-menu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .associate-layout-footer {
        width: min(100% - 32px, 1280px);
        flex-direction: column;
    }
}

/* ===== ASSOCIATE AREA: ADMIN PATTERN OVERRIDES ===== */

.associate-admin-body {
    background: #eef3f8;
}

.associate-admin-page {
    padding: 0 36px 36px;
}

.associate-admin-sidebar .associate-sidebar-profile {
    margin: 0 16px 16px;
    padding: 16px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.associate-admin-sidebar .associate-sidebar-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-size: 28px;
    font-weight: 700;
}

.associate-admin-sidebar .associate-sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.associate-admin-sidebar .associate-sidebar-profile strong {
    display: block;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
}

.associate-admin-sidebar .associate-sidebar-profile small {
    display: block;
    margin-top: 4px;
    color: #dbeafe;
    font-size: 12px;
    font-weight: 700;
}

.associate-admin-sidebar .associate-sidebar-status {
    width: fit-content;
    margin: 12px auto 0;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.associate-admin-sidebar .associate-sidebar-status.is-active {
    background: #dcfce7;
    color: #166534;
}

.associate-admin-sidebar .associate-sidebar-status.is-blocked {
    background: #fee2e2;
    color: #991b1b;
}

.associate-dashboard-grid-main {
    margin-top: 22px;
}

.associate-dashboard-content-grid {
    margin-top: 26px;
}

.associate-dashboard-panel {
    display: block;
}

.associate-profile-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.associate-profile-summary div {
    padding: 16px;
    border: 1px solid var(--ser-border);
    border-radius: 16px;
    background: #f8fbff;
}

.associate-profile-summary span {
    display: block;
    color: var(--ser-muted);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.associate-profile-summary strong {
    color: var(--ser-dark-blue);
    font-size: 16px;
    font-weight: 700;
}

.associate-profile-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 18px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--ser-yellow);
    color: var(--ser-dark-blue);
    text-decoration: none;
    font-weight: 700;
}

.associate-profile-panel {
    margin-top: 0;
    display: block;
}

.associate-profile-form {
    margin-top: 22px;
}

.associate-profile-photo-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--ser-border);
    border-radius: 20px;
    background: #f8fbff;
}

.associate-profile-photo {
    width: 112px;
    height: 112px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid var(--ser-border);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--ser-muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.associate-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.associate-profile-photo-row label {
    display: block;
    color: var(--ser-dark-blue);
    font-weight: 700;
    margin-bottom: 8px;
}

.associate-profile-photo-row small {
    display: block;
    margin-top: 8px;
    color: var(--ser-muted);
    font-weight: 700;
}

.associate-profile-section {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--ser-border);
}

.associate-profile-section h3 {
    margin: 0;
    color: var(--ser-dark-blue);
    font-size: 22px;
    font-weight: 700;
}

.associate-profile-section p {
    margin: 6px 0 0;
    color: var(--ser-muted);
    line-height: 1.5;
}

.associate-profile-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.associate-profile-wide {
    grid-column: span 2;
}

.associate-profile-form .form-group label {
    color: var(--ser-dark-blue);
    font-weight: 700;
}

.associate-profile-form input[readonly] {
    background: #eef3f8;
    color: #64748b;
    cursor: not-allowed;
}

.associate-card-panel {
    margin-top: 0;
}

.associate-card-blocked-panel {
    margin-top: 0;
}

.associate-member-card-preview {
    margin-top: 26px;
    padding: 28px;
    border: 1px solid var(--ser-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 42, 84, 0.06);
    overflow: hidden;
}

.associate-print-button {
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
}

.associate-notifications-panel {
    margin-top: 0;
    display: block;
}

.associate-notification-list {
    display: grid;
    gap: 14px;
}

.associate-notification-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--ser-border);
    border-radius: 18px;
    background: #f8fbff;
}

.associate-notification-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #eef6ff;
    color: var(--ser-dark-blue);
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 700;
}

.associate-notification-item.is-alert .associate-notification-icon {
    background: #fee2e2;
    color: #991b1b;
}

.associate-notification-item.is-event .associate-notification-icon {
    background: #e0f2fe;
    color: #075985;
}

.associate-notification-item.is-benefit .associate-notification-icon {
    background: #fef3c7;
    color: #92400e;
}

.associate-notification-meta {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.associate-notification-meta span {
    color: var(--ser-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.associate-notification-meta em {
    color: var(--ser-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.associate-notification-content h3 {
    margin: 0;
    color: var(--ser-dark-blue);
    font-size: 20px;
}

.associate-notification-content p {
    margin: 8px 0 0;
    color: #27364a;
    line-height: 1.6;
}

.associate-notification-content a {
    display: inline-flex;
    margin-top: 12px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--ser-yellow);
    color: var(--ser-dark-blue);
    align-items: center;
    text-decoration: none;
    font-weight: 700;
}

.associate-notification-muted {
    display: block;
    margin-top: 12px;
    color: #991b1b;
    font-size: 13px;
    font-weight: 700;
}

.associate-partners-panel {
    margin-top: 0;
    display: block;
}

.associate-partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.associate-partner-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--ser-border);
    border-radius: 20px;
    background: #f8fbff;
}

.associate-partner-logo {
    width: 86px;
    height: 86px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--ser-border);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.associate-partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.associate-partner-logo span {
    font-size: 30px;
}

.associate-partner-category {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--ser-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.associate-partner-content h3 {
    margin: 0;
    color: var(--ser-dark-blue);
    font-size: 22px;
}

.associate-partner-discount {
    display: inline-flex;
    margin-top: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 13px;
}

.associate-partner-content p {
    margin: 12px 0 0;
    color: #27364a;
    line-height: 1.6;
}

.associate-partner-details {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.associate-partner-details div {
    padding: 10px 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--ser-border);
}

.associate-partner-details span {
    display: block;
    color: var(--ser-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.associate-partner-details strong {
    color: var(--ser-dark-blue);
    font-size: 14px;
}

.associate-partner-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.associate-partner-actions a {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--ser-yellow);
    color: var(--ser-dark-blue);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
}

.associate-partner-actions a.secondary {
    background: #e9f9ef;
    color: #126b32;
}

.associate-events-panel {
    margin-top: 0;
    display: block;
}

.associate-ticket-list {
    display: grid;
    gap: 18px;
}

.associate-ticket-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    overflow: hidden;
    border: 1px solid var(--ser-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 42, 84, .06);
}

.associate-ticket-card.is-confirmed {
    border-color: rgba(22, 101, 52, .22);
}

.associate-ticket-main {
    padding: 24px;
    background: linear-gradient(135deg, #f8fbff, #ffffff);
}

.associate-ticket-kicker {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.associate-ticket-kicker span {
    color: var(--ser-blue);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.associate-ticket-kicker strong {
    color: var(--ser-muted);
    font-size: 12px;
}

.associate-ticket-main h3 {
    margin: 0;
    color: var(--ser-dark-blue);
    font-size: 26px;
    line-height: 1.15;
}

.associate-ticket-main p {
    margin: 10px 0 0;
    color: #27364a;
    line-height: 1.6;
}

.associate-ticket-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.associate-ticket-grid div,
.associate-ticket-payment {
    padding: 12px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid var(--ser-border);
}

.associate-ticket-grid span,
.associate-ticket-payment span {
    display: block;
    color: var(--ser-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.associate-ticket-grid strong,
.associate-ticket-payment strong {
    color: var(--ser-dark-blue);
    font-size: 14px;
}

.associate-ticket-side {
    padding: 24px;
    background: #003965;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.associate-ticket-status {
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
}

.associate-ticket-status.ok {
    background: #dcfce7;
    color: #166534;
}

.associate-ticket-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.associate-ticket-side .associate-ticket-payment {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .18);
}

.associate-ticket-side .associate-ticket-payment span {
    color: #dbeafe;
}

.associate-ticket-side .associate-ticket-payment strong {
    color: #ffffff;
}

.associate-ticket-ref {
    color: #dbeafe;
    font-size: 12px;
    font-weight: 700;
    word-break: break-word;
}

.associate-ticket-side small {
    color: #dbeafe;
    line-height: 1.5;
}

@media print {
    .print-card-body .cardtpl-print {
        width: 696px !important;
        height: 488px !important;
        max-width: none !important;
        overflow: hidden !important;
        page-break-after: avoid !important;
        page-break-before: avoid !important;
    }
}

@media (max-width: 700px) {
    .associate-admin-page {
        padding: 0 22px 28px;
    }

    .associate-admin-sidebar .associate-sidebar-profile {
        display: none;
    }

    .associate-member-card-preview {
        padding: 18px;
    }

    .associate-notification-item {
        grid-template-columns: 1fr;
    }

    .associate-notification-meta {
        display: grid;
    }

    .associate-partner-grid,
    .associate-partner-card {
        grid-template-columns: 1fr;
    }

    .associate-profile-summary,
    .associate-profile-photo-row,
    .associate-profile-grid {
        grid-template-columns: 1fr;
    }

    .associate-profile-wide {
        grid-column: auto;
    }

    .associate-ticket-card {
        grid-template-columns: 1fr;
    }

    .associate-ticket-grid {
        grid-template-columns: 1fr;
    }
}
