/* =============================================================================
   DESIGN SYSTEM - Fluxograma TDAH (Foco)
   Cores: verde menta (#9dd5c9), pastéis, branco, cinza claro
   Tipografia: moderna, limpa, espaçada
   Mobile-first
   ============================================================================= */

:root {
    --foco-primary: #9dd5c9;
    --foco-primary-dark: #7bb5a8;
    --foco-secondary: #ffe8d6;
    --foco-accent-yellow: #ffc107;
    --foco-accent-green: #28a745;
    --foco-accent-orange: #ff9800;
    --foco-text-dark: #2d5a50;
    --foco-text-light: #5a6c67;
    --foco-bg: #f4f4f4;
    --foco-white: #ffffff;
    --foco-gray-light: #e9ecef;
    --foco-gray: #6c757d;
}

* {
    box-sizing: border-box;
}

body.foco-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #e8f5f2 0%, #f4f4f4 50%, #ffffff 100%);
    margin: 0;
    padding: 0;
    color: var(--foco-text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
}

/* Efeitos de sparkles no background geral */
body.foco-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(157, 213, 201, 0.3), transparent),
        radial-gradient(1px 1px at 30% 40%, rgba(157, 213, 201, 0.25), transparent),
        radial-gradient(1px 1px at 50% 60%, rgba(157, 213, 201, 0.2), transparent),
        radial-gradient(1px 1px at 70% 30%, rgba(157, 213, 201, 0.3), transparent),
        radial-gradient(1px 1px at 90% 70%, rgba(157, 213, 201, 0.25), transparent),
        radial-gradient(2px 2px at 20% 80%, rgba(157, 213, 201, 0.2), transparent),
        radial-gradient(1px 1px at 60% 10%, rgba(157, 213, 201, 0.3), transparent);
    background-size: 100% 100%;
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

/* Efeitos de nuvens no background */
body.foco-body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 200px 100px at 15% 25%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(ellipse 150px 80px at 75% 35%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(ellipse 180px 90px at 45% 65%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(ellipse 120px 60px at 85% 75%, rgba(255, 255, 255, 0.3), transparent);
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.foco-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.foco-login-card {
    background: var(--foco-white);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho sutil no card */
.foco-login-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) rotate(180deg);
        opacity: 0.6;
    }
}

.foco-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--foco-text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.foco-subtitle {
    font-size: 0.95rem;
    color: var(--foco-text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.foco-login-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.foco-btn-social {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1.5px solid var(--foco-gray-light);
    border-radius: 12px;
    background: var(--foco-white);
    color: var(--foco-text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.foco-btn-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(157, 213, 201, 0.1), transparent);
    transition: left 0.5s;
}

.foco-btn-social:hover::before {
    left: 100%;
}

.foco-btn-social:hover {
    background: var(--foco-gray-light);
    border-color: var(--foco-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Botão de email destacado */
.foco-btn-email {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%) !important;
    border-color: #ffc107 !important;
}

.foco-btn-social i {
    font-size: 1.1rem;
}

.foco-login-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--foco-gray-light);
}

.foco-input {
    border: 1.5px solid var(--foco-gray-light);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.foco-input:focus {
    border-color: var(--foco-primary);
    box-shadow: 0 0 0 3px rgba(157, 213, 201, 0.1);
    outline: none;
}

/* Modal minimalista (nova tarefa e edição) – sempre centralizado */
.foco-modal.foco-modal-centered {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.foco-modal.foco-modal-centered.show {
    display: flex !important;
}

.foco-modal .modal-dialog.foco-modal-dialog {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

.foco-modal .modal-dialog.foco-modal-dialog.foco-modal-dialog-edit {
    max-width: 520px;
}

.foco-modal .modal-content {
    border-radius: 18px;
    border: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.foco-modal-header {
    border-bottom: 1px solid rgba(233, 236, 239, 0.6);
    padding: 1rem 1.25rem;
}

.foco-modal-body {
    padding: 1rem 1.25rem 0.5rem;
}

.foco-modal-footer {
    border-top: none;
    padding: 0.75rem 1.25rem 1.25rem;
    display: flex;
    justify-content: space-between;
}

.foco-input-minimal {
    border-radius: 12px;
    border: 1px solid var(--foco-gray-light);
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
}

.foco-link-details {
    background: transparent;
    border: none;
    color: var(--foco-primary-dark);
    font-size: 0.85rem;
    padding: 0;
    margin: 0.5rem 0 0.75rem;
    cursor: pointer;
}

.foco-advanced-fields {
    display: none;
    border-top: 1px dashed rgba(233, 236, 239, 0.8);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}

.foco-btn-save {
    background: var(--foco-primary);
    border: none;
    border-radius: 12px;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
}

.foco-btn-primary {
    background: var(--foco-primary);
    color: var(--foco-white);
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.foco-btn-primary:hover {
    background: var(--foco-primary-dark);
}

.foco-footer-links {
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 2;
}

.foco-link {
    color: var(--foco-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.foco-link:hover {
    text-decoration: underline;
}

/* Dashboard - Header verde menta com degradê e efeitos (INTENSIFICADO) */
.foco-dashboard-header {
    background: linear-gradient(180deg, #bfe9e1 0%, #98cfc6 50%, #cfeee8 100%);
    border-radius: 0 0 80px 80px;
    padding: 1.6rem 1.25rem 3.4rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(157, 213, 201, 0.35);
}

/* Efeitos de nuvens no background (MAIS VISÍVEIS) */
.foco-dashboard-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image:
        radial-gradient(ellipse 300px 140px at 15% 20%, rgba(255, 255, 255, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 260px 120px at 80% 15%, rgba(255, 255, 255, 0.45) 0%, transparent 60%),
        radial-gradient(ellipse 280px 130px at 50% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 240px 120px at 25% 70%, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0.8;
    animation: floatCloud 15s ease-in-out infinite;
}

/* Efeitos de sparkles/estrelas (MAIS VISÍVEIS) */
.foco-dashboard-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 10% 20%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 30% 35%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 50% 15%, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(1px 1px at 70% 45%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 85% 25%, rgba(255, 255, 255, 0.75), transparent),
        radial-gradient(1.5px 1.5px at 20% 60%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 90% 55%, rgba(255, 255, 255, 0.75), transparent);
    background-size: 100% 100%;
    pointer-events: none;
    opacity: 0.35;
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes floatCloud {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-10px) translateX(5px);
    }
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.9;
    }
}

/* Onda inferior */
.foco-dashboard-header .foco-wave-bottom {
    content: '';
    position: absolute;
    bottom: -58px;
    left: -30%;
    right: -30%;
    height: 120px;
    background: linear-gradient(180deg, rgba(191, 233, 225, 0.9) 0%, rgba(240, 249, 247, 0.96) 60%, #ffffff 100%);
    border-radius: 0 0 90% 90%;
    z-index: 1;
    box-shadow:
        inset 0 3px 0 rgba(255, 255, 255, 0.9),
        0 -8px 24px rgba(152, 207, 198, 0.35);
    display: none;
}

.foco-dashboard-header .foco-wave-bottom::after {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    top: 8px;
    height: 60px;
    border-radius: 0 0 90% 90%;
    background: radial-gradient(ellipse at center, rgba(152, 207, 198, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.foco-dashboard-header h2 {
    font-size: 1.34rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    margin: 0 0 0.45rem 0;
    position: relative;
    z-index: 2;
    text-align: center;
    letter-spacing: -0.2px;
}

.foco-dashboard-header .foco-resumo {
    font-size: 0.92rem;
    color: #6f7f7a;
    margin: -0.55rem 0;
    position: relative;
    z-index: 2;
}

.foco-minutos {
    text-align: center;
    font-weight: 500;
}

.foco-resumo-extra {
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.75;
}

@media (max-width: 767px) {
    .foco-resumo-extra {
        display: none;
    }
}

.foco-quick-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.85rem;
    flex-wrap: nowrap;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.foco-quick-cards {
    gap: 0.85rem;
    flex-wrap: nowrap;
}

.foco-quick-card {
    background: #ffffff;
    border: none;
    border-radius: 18px;
    padding: 0.7rem 0.85rem;
    min-width: 105px;
    flex: 1 1 0;
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "icon count"
        "label label";
    align-items: center;
    gap: 0.25rem 0.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    color: var(--foco-text-dark);
}

.foco-quick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.foco-quick-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffe9b8;
    color: #c07a00;
    font-size: 0.95rem;
    grid-area: icon;
}

.foco-quick-icon-lista {
    background: #d7eef9;
    color: #0e86b8;
}

.foco-quick-icon-pausa {
    background: #d9f4e3;
    color: #218b4a;
}

.foco-quick-count {
    font-weight: 700;
    font-size: 0.85rem;
    color: #8a9490;
    grid-area: count;
    text-align: right;
}

.foco-quick-count::before {
    content: "(";
}

.foco-quick-count::after {
    content: ")";
}

.foco-quick-label {
    font-size: 0.86rem;
    color: #6b7e79;
    grid-area: label;
    text-align: center;
}

.foco-quick-card-pause .foco-quick-count {
    font-variant-numeric: tabular-nums;
}

.foco-quick-card.is-paused {
    background: #fff3cd;
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.25);
    border: 1px solid rgba(255, 193, 7, 0.45);
}

.foco-quick-card.is-paused .foco-quick-icon {
    background: rgba(255, 193, 7, 0.2);
    color: #b7791f;
}

.foco-quick-card.is-paused .foco-quick-label {
    color: #b7791f;
    font-weight: 700;
}

.foco-quick-card.is-running {
    background: #e6f7ff;
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.18);
    border: 1px solid rgba(0, 123, 255, 0.25);
}

/* Lista/Kanban - apresentação clean, fixo à resolução (sem expandir a página) */
body.foco-lista-open {
    background: #f7faf9 !important;
    overflow-x: hidden !important;
}

#kanbanContainer {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1rem 0.75rem 1.25rem;
    margin: 1rem 0.75rem 1.5rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(233, 236, 239, 0.7);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

#kanbanContainer .container-fluid {
    max-width: 100% !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    overflow: hidden;
}

/* Scroll horizontal só DENTRO deste container – layout não expande a página */
#kanbanContainer .scroll-container.kanban-container {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.25rem 0.75rem;
    margin: 0 -0.25rem;
    border-radius: 12px;
}

#kanbanContainer .scroll-container.kanban-container::-webkit-scrollbar {
    height: 8px;
}

#kanbanContainer .scroll-container.kanban-container::-webkit-scrollbar-thumb {
    background: rgba(157, 213, 201, 0.6);
    border-radius: 4px;
}

#kanbanContainer .text-center small {
    color: var(--foco-text-light);
}

.kanban-container {
    gap: 0;
}

.kanban-board {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: fit-content;
    padding: 0 0.15rem;
}

#kanbanContainer .coluna {
    flex: 0 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 0.75rem;
    width: 240px;
    min-width: 220px;
    max-width: 280px;
    border: 1px solid rgba(233, 236, 239, 0.8);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

@media (max-width: 576px) {
    #kanbanContainer .coluna {
        width: 200px;
        min-width: 180px;
    }
}

.coluna {
    background: #ffffff;
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 220px;
    max-width: 280px;
    border: 1px solid rgba(233, 236, 239, 0.8);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.coluna h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2d5a50;
    background: #eaf6f3;
    border-radius: 12px;
    padding: 0.45rem 0.6rem;
    margin-bottom: 0.6rem;
    text-align: left;
}

.coluna h3 span.total {
    float: right;
    background: #ffffff;
    border-radius: 10px;
    padding: 0.1rem 0.45rem;
    font-size: 0.75rem;
    color: #5a6c67;
    border: 1px solid rgba(233, 236, 239, 0.8);
}

.list-group {
    border: none;
    box-shadow: none;
    background: transparent;
}

.list-group-item {
    border: 1px solid rgba(233, 236, 239, 0.7);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.list-group-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.list-group-item small {
    color: var(--foco-text-light);
}

/* Esconde rodapé antigo no dashboard */
body.foco-dashboard-body footer {
    display: none !important;
}

.foco-toggle-columns {
    border: 1px solid rgba(157, 213, 201, 0.6);
    background: rgba(255, 255, 255, 0.8);
    color: var(--foco-text-light);
    border-radius: 18px;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.foco-toggle-columns:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--foco-text-dark);
}

.foco-quick-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.foco-quick-actions .btn .badge {
    margin-left: 0.25rem;
}

/* Card de tarefa única (MELHORADO) */
.foco-card-urgente {
    background: var(--foco-white);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(233, 236, 239, 0.6);
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
}

/* Efeito de brilho sutil no card */
.foco-card-urgente::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(157, 213, 201, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.tarefa-urgente-label {
    color: #e06b6b;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.tarefa-titulo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.tarefa-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.tarefa-tag {
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
    border-radius: 20px;
    background: var(--foco-gray-light);
    color: #555;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.tarefa-tag i {
    font-size: 0.75rem;
}

.tarefa-tag.origem-email {
    background: #ffe9b8;
    color: #b45a00;
}

.tarefa-tag.origem-whatsapp {
    background: #e2f5e9;
    color: #1a6b3a;
}

.tarefa-tag.hoje {
    background: #ffe9b8;
    color: #8a6a00;
}

.btn-detalhes-foco {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #e8f4fd;
    color: #0d6efd;
    border: 1px solid #b6d4fe;
    border-radius: 10px;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0.75rem;
    transition: background 0.2s, color 0.2s;
}

.btn-detalhes-foco:hover {
    background: #cfe2ff;
    color: #0a58ca;
}

.btn-detalhes-foco[aria-expanded="true"] {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.btn-detalhes-foco i {
    font-size: 0.9rem;
}

.foco-card-descricao {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #374151;
    border: 1px solid #e9ecef;
    white-space: pre-wrap;
    word-break: break-word;
}

.foco-card-timer {
    margin: 1rem 0;
}

.foco-card-timer .progress {
    background: #f0f0f0;
    border-radius: 8px;
    height: 8px;
    margin: 0.5rem 0;
}

#focoProgressBar {
    background: linear-gradient(90deg, #f7b84b 0%, #f5a623 100%);
    border-radius: 8px;
}

.foco-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin-top: 1rem;
}

/* Botões do card sempre na mesma linha */
.foco-card-actions>button {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    font-size: clamp(0.74rem, 2.6vw, 0.85rem);
    padding: clamp(0.45rem, 2.2vw, 0.55rem) clamp(0.55rem, 2.6vw, 0.8rem);
}

.btn-agora-nao {
    background: #ffe9d6;
    color: #c06a2b;
    border: none;
    border-radius: 12px;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.btn-concluir {
    background: #3db76f;
    color: var(--foco-white);
    border: none;
    border-radius: 12px;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 600;
}

.btn-trocar {
    background: #f2f2f2;
    color: #6e7a76;
    border: none;
    border-radius: 12px;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.foco-hint {
    font-size: 0.85rem;
    color: var(--foco-gray);
    text-align: center;
    margin: 1rem 0 2rem;
    padding: 0 1rem;
    line-height: 1.5;
}

/* Estado vazio quando não há tarefas */
.foco-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--foco-text-light);
}

.foco-empty-state i {
    font-size: 3rem;
    color: var(--foco-primary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.foco-empty-state h3 {
    font-size: 1.25rem;
    color: var(--foco-text-dark);
    margin-bottom: 0.5rem;
}

.foco-empty-state p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Ícone do botão Nova Tarefa no estado vazio (não herdar estilo do ícone decorativo) */
.foco-empty-state .foco-btn-primary.foco-empty-state-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.foco-empty-state .foco-btn-primary.foco-empty-state-btn i {
    font-size: 1.1rem;
    opacity: 1;
    margin-bottom: 0;
}

/* Barra inferior mobile (MELHORADA) */
.foco-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 36px 36px 0 0;
    box-shadow: 0 -14px 36px rgba(0, 0, 0, 0.12), 0 -6px 16px rgba(0, 0, 0, 0.08);
    padding: 14px 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
    z-index: 998;
    border-top: 1px solid rgba(233, 236, 239, 0.6);
    position: fixed;
}

/* “Cúpula” arredondada de fundo (como no mock) */
.foco-bottom-nav::before {
    content: '';
    position: absolute;
    top: -22px;
    left: 6%;
    right: 6%;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px 999px 0 0;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    z-index: -1;
}

/* Base arredondada */
.foco-bottom-nav::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -10%;
    right: -10%;
    height: 28px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0 0 60% 60%;
    z-index: -2;
}

.foco-nav-btn {
    background: var(--foco-gray-light);
    border: none;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: var(--foco-gray);
    cursor: pointer;
}

.foco-nav-pill {
    background: linear-gradient(135deg, #ffd166 0%, #ffc107 100%);
    color: #000;
    padding: 8px 12px;
    border-radius: 18px;
    display: flex;
    gap: 8px;
    align-items: center;
    box-shadow: 0 6px 18px rgba(255, 193, 7, 0.35);
}

.foco-nav-pill .pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.foco-nav-raio {
    background: #eef1f4;
    color: #7a8594;
    border-radius: 14px;
    padding: 10px 14px;
}

.foco-nav-lista {
    background: var(--foco-primary);
    color: var(--foco-white);
    padding: 10px 16px;
    font-weight: 600;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(157, 213, 201, 0.3);
    transition: all 0.2s;
}

.foco-nav-lista:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(157, 213, 201, 0.4);
}

/* Botão flutuante (nuvem com +) */
.foco-floating-add {
    position: relative;
    margin: 0.75rem auto 0;
    width: 64px;
    height: 44px;
    border-radius: 24px;
    border: none;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foco-primary-dark);
    z-index: 2;
}

.foco-floating-add i {
    font-size: 1.2rem;
}

/* Dashboard body - SOBRESCREVER estilos antigos */
body.foco-dashboard-body {
    background: linear-gradient(180deg, #e8f5f2 0%, #f0f9f7 20%, #f4f4f4 60%, #ffffff 100%) !important;
    padding-bottom: 80px !important;
    /* Espaço para barra inferior mobile */
    position: relative !important;
    min-height: 100vh !important;
    display: block !important;
    flex-direction: unset !important;
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Sobrescrever container antigo */
body.foco-dashboard-body .container-fluid,
.foco-dashboard-body .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Garantir que blocoModoFoco seja o primeiro elemento visível */
#blocoModoFoco {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Efeitos de sparkles no dashboard */
.foco-dashboard-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(157, 213, 201, 0.3), transparent),
        radial-gradient(1px 1px at 30% 40%, rgba(157, 213, 201, 0.25), transparent),
        radial-gradient(1px 1px at 50% 60%, rgba(157, 213, 201, 0.2), transparent),
        radial-gradient(1px 1px at 70% 30%, rgba(157, 213, 201, 0.3), transparent),
        radial-gradient(1px 1px at 90% 70%, rgba(157, 213, 201, 0.25), transparent),
        radial-gradient(2px 2px at 20% 80%, rgba(157, 213, 201, 0.2), transparent);
    background-size: 100% 100%;
    pointer-events: none;
    opacity: 0.4;
    z-index: 0;
}

/* Efeitos de nuvens no dashboard */
.foco-dashboard-body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 200px 100px at 15% 25%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(ellipse 150px 80px at 75% 35%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(ellipse 180px 90px at 45% 65%, rgba(255, 255, 255, 0.35), transparent);
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

/* Header mobile (status bar) */
.foco-mobile-header {
    background: #000;
    color: #fff;
    padding: 4px 16px;
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.foco-mobile-header-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.foco-time {
    font-weight: 600;
}

.foco-status-icons {
    display: flex;
    gap: 4px;
}

.foco-status-icons i {
    font-size: 0.7rem;
}

/* Header desktop */
.foco-desktop-header {
    background: var(--foco-white);
    border-bottom: 1px solid var(--foco-gray-light);
    margin-bottom: 1rem;
}

/* Main content */
.foco-main-content {
    padding-top: 1rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 200px);
}

/* Garantir que o card de tarefa seja sempre visível quando há tarefas */
#focoCardTarefa {
    animation: fadeInUp 0.4s ease-out;
    display: none;
    /* Será mostrado via JS quando houver tarefa */
}

#focoCardTarefa[style*="display: block"],
#focoCardTarefa.show {
    display: block !important;
}

/* Texto motivacional */
.foco-hint {
    color: var(--foco-text-light) !important;
    font-size: 0.95rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    font-style: italic;
    opacity: 0.85;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dots indicator (MELHORADO) */
.foco-dots-indicator {
    margin: 1rem 0 0.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.foco-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(157, 213, 201, 0.3);
    margin: 0;
    transition: all 0.3s;
}

.foco-dot.active {
    background: var(--foco-primary);
    width: 10px;
    height: 10px;
    box-shadow: 0 0 8px rgba(157, 213, 201, 0.5);
}

/* Preferências (cadastro) */
.foco-preferences-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.foco-preference-btn {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1.5px solid var(--foco-gray-light);
    border-radius: 12px;
    background: var(--foco-white);
    color: var(--foco-text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.foco-preference-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.2s;
}

.foco-preference-btn:hover::before {
    opacity: 1;
}

.foco-preference-btn:hover {
    background: var(--foco-gray-light);
    border-color: var(--foco-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.foco-preference-btn.active {
    background: linear-gradient(135deg, var(--foco-primary) 0%, #b8e6df 100%);
    color: var(--foco-white);
    border-color: var(--foco-primary);
    box-shadow: 0 4px 16px rgba(157, 213, 201, 0.3);
}

/* Cores específicas para cada botão de preferência */
.foco-preference-btn[data-value="pressao_minima_foco"] {
    background: linear-gradient(135deg, #ffe8d6 0%, #ffd4b3 100%);
}

.foco-preference-btn[data-value="tdah_leve"] {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.foco-preference-btn[data-value="sobrecarregado"] {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
}

.foco-preference-btn[data-value="so_tentar"] {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
}

/* Integrações (conectar contas) */
.foco-integrations {
    margin: 1.5rem 0;
}

.foco-integration-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--foco-gray-light);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    background: var(--foco-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
}

.foco-integration-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.foco-integration-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.foco-integration-icon {
    font-size: 1.5rem;
    color: var(--foco-primary);
}

.foco-integration-info strong {
    display: block;
    color: var(--foco-text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.foco-integration-info small {
    display: block;
    color: var(--foco-text-light);
    font-size: 0.8rem;
}

/* Toggle switch */
.foco-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.foco-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.foco-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 26px;
}

.foco-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.foco-switch input:checked+.foco-slider {
    background-color: var(--foco-accent-green);
}

.foco-switch input:checked+.foco-slider:before {
    transform: translateX(24px);
}

/* Landing Page Styles */
.foco-hero {
    background: linear-gradient(180deg, #e8f5f2 0%, #f0f9f7 30%, #f4f4f4 60%, #ffffff 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* Efeitos de nuvens no hero */
.foco-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 300px 150px at 10% 20%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(ellipse 250px 120px at 80% 30%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(ellipse 280px 140px at 50% 70%, rgba(255, 255, 255, 0.45), transparent);
    pointer-events: none;
    opacity: 0.7;
}

/* Efeitos de sparkles no hero */
.foco-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 15% 25%, rgba(157, 213, 201, 0.4), transparent),
        radial-gradient(1px 1px at 75% 35%, rgba(157, 213, 201, 0.3), transparent),
        radial-gradient(2px 2px at 45% 55%, rgba(157, 213, 201, 0.35), transparent),
        radial-gradient(1px 1px at 85% 65%, rgba(157, 213, 201, 0.3), transparent);
    background-size: 100% 100%;
    pointer-events: none;
    opacity: 0.6;
}

.foco-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foco-text-dark);
    margin-bottom: 1rem;
}

.foco-hero-subtitle {
    font-size: 1.25rem;
    color: var(--foco-text-light);
    margin-bottom: 1rem;
}

.foco-hero-description {
    font-size: 1rem;
    color: var(--foco-text-light);
    margin-bottom: 2rem;
}

.foco-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.foco-btn-outline {
    background: transparent;
    color: var(--foco-primary);
    border: 2px solid var(--foco-primary);
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.foco-btn-outline:hover {
    background: var(--foco-primary);
    color: var(--foco-white);
    text-decoration: none;
}

.foco-features {
    background: var(--foco-white);
}

.foco-section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--foco-text-dark);
}

.foco-feature-card {
    background: var(--foco-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.2s;
}

.foco-feature-card:hover {
    transform: translateY(-4px);
}

.foco-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--foco-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.foco-feature-icon i {
    font-size: 1.5rem;
    color: var(--foco-white);
}

.foco-feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foco-text-dark);
    margin-bottom: 0.75rem;
}

.foco-feature-card p {
    color: var(--foco-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.foco-cta {
    color: var(--foco-text-dark);
}

.foco-cta-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.foco-cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.foco-footer {
    background: var(--foco-white);
    border-top: 1px solid var(--foco-gray-light);
}

.foco-footer h5 {
    color: var(--foco-text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.foco-footer p {
    color: var(--foco-text-light);
    font-size: 0.9rem;
}

/* Ajustes para mobile - garantir foco total */
@media (max-width: 767px) {
    .foco-main-content {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .foco-card-urgente {
        margin-bottom: 1.5rem;
    }

    .foco-dashboard-header {
        padding: 1.25rem 1rem 1.75rem;
    }

    .foco-dashboard-header h2 {
        font-size: 1rem;
    }

    .foco-resumo {
        font-size: 0.85rem !important;
    }
}

/* Ocultar alertas completamente - não fazem parte do novo layout mobile-first */
.avisos {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Garantir que alertas nunca apareçam */
.avisos * {
    display: none !important;
}

/* Mobile-first: desktop esconde barra inferior */
@media (min-width: 768px) {
    .foco-bottom-nav {
        display: none !important;
    }

    .foco-dashboard-header {
        border-radius: 0 0 24px 24px;
    }

    .foco-mobile-header {
        display: none !important;
    }

    body.foco-dashboard-body {
        padding-bottom: 0 !important;
    }

    .foco-hero-title {
        font-size: 3rem;
    }

    .foco-main-content {
        max-width: 600px;
        margin: 0 auto;
    }
}