/**
 * ==========================================================
 * DCC Access
 * Login, recuperação, definição de senha e Dashboard
 * ==========================================================
 */

/**
 * Base geral das páginas do DCC Access.
 */
body {
    background: #f4f6f5;
}

/**
 * ==========================================================
 * AUTENTICAÇÃO
 * ==========================================================
 */

.dcc-login-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 40px 20px;
    box-sizing: border-box;
}

.dcc-login-card {
    width: 100%;
    max-width: 420px;
    padding: 42px;
    border: 1px solid rgba(5, 5, 5, 0.06);
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 20px 60px rgba(15, 23, 42, 0.12),
        0 4px 16px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
}

.dcc-login-brand {
    margin-bottom: 32px;
    text-align: center;
}

.dcc-login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: #050505;
    color: #35d07f;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(5, 5, 5, 0.18);
}

.dcc-login-brand h1 {
    margin: 0;
    color: #111827;
    font-size: 28px;
    line-height: 1.25;
}

.dcc-login-brand p {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.55;
}

.dcc-login-form label {
    display: block;
    margin-bottom: 7px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.dcc-login-form input {
    width: 100%;
    height: 48px;
    margin-bottom: 18px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
}

.dcc-login-form input:focus {
    outline: none;
    border-color: #35d07f;
    box-shadow: 0 0 0 3px rgba(53, 208, 127, 0.16);
}

.dcc-login-form button {
    width: 100%;
    height: 50px;
    border: 1px solid #35d07f;
    border-radius: 14px;
    background: #35d07f;
    color: #050505;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.dcc-login-form button:hover {
    border-color: #29b96d;
    background: #29b96d;
    transform: translateY(-1px);
}

.dcc-login-links {
    margin-top: 22px;
    text-align: center;
}

.dcc-login-links a {
    color: #159455;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.dcc-login-links a:hover {
    text-decoration: underline;
}

.dcc-login-error {
    margin-bottom: 22px;
    padding: 12px 14px;
    border: 1px solid #fecdd3;
    border-radius: 12px;
    background: #fff1f2;
    color: #be123c;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.dcc-login-success {
    margin-bottom: 22px;
    padding: 12px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

/**
 * ==========================================================
 * DASHBOARD — STORY EXPRESS
 * ==========================================================
 */

/**
 * Esconde o título padrão da página do WordPress/tema.
 */
body:has(.dcc-dashboard-page) .entry-title,
body:has(.dcc-dashboard-page) .page-title,
body:has(.dcc-dashboard-page) .wp-block-post-title,
body:has(.dcc-dashboard-page) .elementor-heading-title,
body:has(.dcc-dashboard-page) header.entry-header,
body:has(.dcc-dashboard-page) .entry-header,
body:has(.dcc-dashboard-page) .page-header {
    display: none !important;
}

/**
 * Remove margens desnecessárias do conteúdo do tema.
 */
body:has(.dcc-dashboard-page) .site-main,
body:has(.dcc-dashboard-page) main,
body:has(.dcc-dashboard-page) article,
body:has(.dcc-dashboard-page) .entry-content {
    margin-top: 0;
}

.dcc-dashboard-page {
    --dcc-black: #050505;
    --dcc-dark: #111111;
    --dcc-green: #35d07f;
    --dcc-green-hover: #29b96d;
    --dcc-green-light: #e7faef;
    --dcc-white: #ffffff;
    --dcc-gray-50: #f7f9f8;
    --dcc-gray-100: #e8eeeb;
    --dcc-gray-400: #98a29e;
    --dcc-gray-600: #59645f;

    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background:
        radial-gradient(
            circle at 50% 28%,
            rgba(53, 208, 127, 0.11),
            transparent 34%
        ),
        var(--dcc-gray-50);
    color: var(--dcc-dark);
    box-sizing: border-box;
}

.dcc-dashboard-page *,
.dcc-dashboard-page *::before,
.dcc-dashboard-page *::after {
    box-sizing: border-box;
}

.dcc-dashboard-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 46px 30px 64px;
}

.dcc-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.dcc-dashboard-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.dcc-dashboard-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--dcc-black);
    color: var(--dcc-green);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.4px;
    box-shadow: 0 14px 30px rgba(5, 5, 5, 0.16);
}

.dcc-dashboard-heading h1 {
    margin: 0 0 7px;
    color: var(--dcc-black);
    font-size: 36px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
}

.dcc-dashboard-heading p {
    margin: 0;
    color: var(--dcc-gray-600);
    font-size: 16px;
    line-height: 1.55;
}

/**
 * Usa maior especificidade para impedir que o tema
 * continue aplicando rosa ao botão de saída.
 */
.dcc-dashboard-page .dcc-logout-button,
.dcc-dashboard-page button.dcc-logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    min-height: 48px;
    padding: 11px 21px;
    border: 1px solid var(--dcc-black) !important;
    border-radius: 10px;
    background: transparent !important;
    color: var(--dcc-black) !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none !important;
    cursor: pointer;
    appearance: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.dcc-dashboard-page .dcc-logout-button:hover,
.dcc-dashboard-page button.dcc-logout-button:hover {
    border-color: var(--dcc-black) !important;
    background: var(--dcc-black) !important;
    color: var(--dcc-green) !important;
    transform: translateY(-1px);
}

.dcc-dashboard-page .dcc-logout-button:focus,
.dcc-dashboard-page button.dcc-logout-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(53, 208, 127, 0.2) !important;
}

.dcc-access-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.dcc-access-card {
    position: relative;
    width: 100%;
    max-width: 640px;
    overflow: hidden;
    padding: 34px 40px 36px;
    border: 1px solid rgba(5, 5, 5, 0.08);
    border-radius: 25px;
    background: var(--dcc-white);
    box-shadow:
        0 25px 65px rgba(5, 5, 5, 0.11),
        0 5px 18px rgba(5, 5, 5, 0.04);
}

.dcc-access-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--dcc-green);
    content: "";
}

/**
 * Selo superior mais discreto.
 */
.dcc-access-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    margin-bottom: 22px;
    padding: 7px 12px;
    border: 1px solid rgba(53, 208, 127, 0.2);
    border-radius: 999px;
    background: rgba(231, 250, 239, 0.72);
    color: #167a48;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.dcc-access-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--dcc-green);
    color: var(--dcc-black);
    font-size: 11px;
    font-weight: 900;
}

.dcc-access-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
}

.dcc-access-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: var(--dcc-black);
    color: var(--dcc-green);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    box-shadow:
        0 16px 34px rgba(5, 5, 5, 0.18),
        inset 0 0 0 1px rgba(53, 208, 127, 0.18);
}

.dcc-plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 17px;
    border: 1px solid rgba(53, 208, 127, 0.3);
    border-radius: 999px;
    background: var(--dcc-black);
    color: var(--dcc-green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.9px;
}

.dcc-access-card h2 {
    margin: 0 0 11px;
    color: var(--dcc-black);
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.dcc-access-description {
    margin: 0 0 22px;
    color: var(--dcc-gray-600);
    font-size: 16px;
    line-height: 1.65;
}

.dcc-access-divider {
    width: 100%;
    height: 1px;
    margin: 0 0 21px;
    background: var(--dcc-gray-100);
}

.dcc-access-list-title {
    margin: 0 0 15px;
    color: var(--dcc-black);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.dcc-access-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.dcc-access-list li {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0;
    color: var(--dcc-dark);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.dcc-access-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--dcc-green-light);
    color: var(--dcc-green-hover);
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
}

.dcc-telegram-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    padding: 15px 24px;
    border: 1px solid var(--dcc-green);
    border-radius: 12px;
    background: var(--dcc-green);
    color: var(--dcc-black) !important;
    font-size: 17px;
    font-weight: 900;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 14px 30px rgba(53, 208, 127, 0.25);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.dcc-telegram-button:hover {
    border-color: var(--dcc-green-hover);
    background: var(--dcc-green-hover);
    color: var(--dcc-black) !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(53, 208, 127, 0.33);
}

.dcc-empty-card {
    width: 100%;
    max-width: 640px;
    padding: 44px 36px;
    border: 1px solid rgba(5, 5, 5, 0.08);
    border-radius: 25px;
    background: var(--dcc-white);
    box-shadow: 0 24px 60px rgba(5, 5, 5, 0.09);
    text-align: center;
}

.dcc-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 19px;
    background: var(--dcc-black);
    color: var(--dcc-green);
    font-size: 18px;
    font-weight: 900;
}

.dcc-empty-card h2 {
    margin: 0 0 11px;
    color: var(--dcc-black);
    font-size: 28px;
    font-weight: 800;
}

.dcc-empty-card p {
    margin: 0;
    color: var(--dcc-gray-600);
    font-size: 16px;
    line-height: 1.6;
}

/**
 * ==========================================================
 * RESPONSIVIDADE
 * ==========================================================
 */

@media (max-width: 767px) {
    .dcc-login-card {
        padding: 32px 24px;
        border-radius: 18px;
    }

    .dcc-dashboard-wrap {
        padding: 28px 18px 46px;
    }

    .dcc-dashboard-header {
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 30px;
    }

    .dcc-dashboard-brand {
        align-items: flex-start;
    }

    .dcc-dashboard-brand-mark {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 15px;
    }

    .dcc-dashboard-heading h1 {
        font-size: 27px;
        letter-spacing: -0.5px;
    }

    .dcc-dashboard-heading p {
        max-width: 235px;
        font-size: 14px;
    }

    .dcc-dashboard-page .dcc-logout-button,
    .dcc-dashboard-page button.dcc-logout-button {
        min-width: 66px;
        min-height: 42px;
        padding: 9px 14px;
        font-size: 14px;
    }

    .dcc-access-card {
        padding: 26px 23px 28px;
        border-radius: 21px;
    }

    .dcc-access-status {
        margin-bottom: 20px;
    }

    .dcc-access-card-top {
        margin-bottom: 22px;
    }

    .dcc-access-icon {
        flex-basis: 66px;
        width: 66px;
        height: 66px;
        border-radius: 17px;
        font-size: 18px;
    }

    .dcc-access-card h2 {
        font-size: 26px;
    }

    .dcc-access-description {
        margin-bottom: 20px;
        font-size: 15px;
    }

    .dcc-access-divider {
        margin-bottom: 19px;
    }

    .dcc-access-list {
        gap: 12px;
        margin-bottom: 25px;
    }

    .dcc-access-list li {
        font-size: 15px;
    }

    .dcc-telegram-button {
        min-height: 55px;
        font-size: 16px;
    }
}

@media (max-width: 430px) {
    .dcc-dashboard-brand-mark {
        display: none;
    }

    .dcc-dashboard-heading h1 {
        font-size: 24px;
    }

    .dcc-dashboard-heading p {
        max-width: 205px;
    }

    .dcc-access-card-top {
        align-items: flex-start;
    }

    .dcc-plan-badge {
        padding: 7px 12px;
        font-size: 11px;
    }
}
/* ==========================================================
   Dashboard — Orientações de acesso ao Telegram
   ========================================================== */

.dcc-access-guide {
    margin: 24px 0;
}

.dcc-access-guide h3 {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.dcc-access-guide-list {
    margin: 0;
    padding-left: 22px;
}

.dcc-access-guide-list li {
    margin-bottom: 10px;
    padding-left: 4px;
    font-size: 15px;
    line-height: 1.6;
}

.dcc-access-guide-list li:last-child {
    margin-bottom: 0;
}

.dcc-access-tip {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 14px;
    line-height: 1.55;
}

.dcc-access-tip strong {
    font-weight: 700;
}

/* ==========================================================
   Ajustes mobile
   ========================================================== */

@media (max-width: 767px) {

    .dcc-access-guide {
        margin: 20px 0;
    }

    .dcc-access-guide h3 {
        font-size: 17px;
    }

    .dcc-access-guide-list {
        padding-left: 20px;
    }

    .dcc-access-guide-list li {
        margin-bottom: 9px;
        font-size: 14px;
        line-height: 1.55;
    }

    .dcc-access-tip {
        margin-top: 18px;
        padding: 13px 14px;
        font-size: 13px;
    }
}
/* ==========================================================
   Dashboard — Botão alternativo do Telegram
   ========================================================== */

.dcc-access-card button.dcc-copy-telegram-button {
    appearance: none;
    -webkit-appearance: none;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    padding: 12px 18px;

    border: 2px solid #39d17d;
    border-radius: 10px;
    background: transparent;

    color: #159957;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;

    box-shadow: none;
    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.dcc-access-card button.dcc-copy-telegram-button:hover,
.dcc-access-card button.dcc-copy-telegram-button:focus,
.dcc-access-card button.dcc-copy-telegram-button:focus-visible {
    border-color: #20b968;
    background: rgba(57, 209, 125, 0.10);
    color: #0f7f49;
    box-shadow: none;
    outline: none;
}

.dcc-access-card button.dcc-copy-telegram-button:active {
    border-color: #20b968;
    background: rgba(57, 209, 125, 0.16);
    color: #0f7f49;
    box-shadow: none;
    transform: translateY(1px);
}

.dcc-copy-feedback {
    min-height: 22px;
    margin-top: 10px;
    color: #159957;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 767px) {
    .dcc-access-card button.dcc-copy-telegram-button {
        min-height: 50px;
        margin-top: 14px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .dcc-copy-feedback {
        margin-top: 9px;
        font-size: 12px;
    }
}

/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 767px) {

    .dcc-copy-telegram-button {
        min-height: 50px;
        margin-top: 14px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .dcc-copy-feedback {
        margin-top: 9px;
        font-size: 12px;
    }

    .dcc-access-tip {
        margin-top: 20px;
    }
}
/* ==========================================================
   Dashboard — separação do acesso e suporte
   Adicionar ao FINAL de assets/css/access.css
   ========================================================== */

.dcc-access-container {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.dcc-access-main-card,
.dcc-access-support-card {
    width: 100%;
}

.dcc-access-main-card .dcc-access-card-top {
    justify-content: flex-start;
}

.dcc-access-main-card .dcc-access-status {
    letter-spacing: 0.02em;
}

.dcc-access-footer-note {
    margin: 18px 0 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.55;
    color: #68736d;
}

.dcc-access-support-card {
    padding-top: 28px;
    padding-bottom: 28px;
    border-top-width: 1px;
}

.dcc-access-support-card .dcc-access-tip {
    margin: 0 0 20px;
    padding: 0;
    background: transparent;
    border: 0;
}

.dcc-access-support-card .dcc-access-tip strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.dcc-access-support-card .dcc-access-tip p {
    margin: 0;
    line-height: 1.6;
}

.dcc-access-support-card .dcc-copy-telegram-button {
    margin-top: 0;
}

.dcc-access-support-card .dcc-copy-feedback {
    min-height: 20px;
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 767px) {
    .dcc-access-container {
        gap: 16px;
    }

    .dcc-access-footer-note {
        font-size: 12px;
    }

    .dcc-access-support-card {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}
.dcc-access-container{
    width:100%;
    max-width:560px;
    margin:32px auto;
}

.dcc-access-card{
    width:100%;
    margin:0;
}