/**
 * PsychMap v2.0 - Folha de Estilos Principal
 * Identidade Visual Premium - Sistema Científico
 */

/* ============================================
   VARIÁVEIS DE CORES
   ============================================ */
:root {
    /* Cores Principais */
    --color-primary: #4B2E83;      /* Roxo Profundo */
    --color-secondary: #3A86FF;    /* Azul Elétrico */
    --color-accent: #FF006E;       /* Rosa Magenta */
    
    /* Neutros */
    --color-white: #FFFFFF;
    --color-bg: #F5F7FA;
    --color-border: #E0E3E8;
    --color-text: #2B2D42;
    --color-text-light: #6B7280;
    
    /* Status */
    --color-success: #10B981;
    --color-error: #EF4444;
    --color-warning: #F59E0B;
    --color-info: #3B82F6;
    
    /* Gradiente */
    --gradient-primary: linear-gradient(135deg, #4B2E83 0%, #3A86FF 100%);
    --gradient-accent: linear-gradient(135deg, #4B2E83 0%, #FF006E 50%, #3A86FF 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* ============================================
   RESET E BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   TIPOGRAFIA
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }

p {
    margin-bottom: 1rem;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* ============================================
   FORMULÁRIOS
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.1);
}

.form-group input.error {
    border-color: var(--color-error);
}

/* ============================================
   ALERTAS
   ============================================ */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: 14px;
}

.alert-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-info {
    background: #EFF6FF;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

.alert-warning {
    background: #FFFBEB;
    color: #92400E;
    border: 1px solid #FDE68A;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    padding: 20px;
}

.login-box {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.login-header h1 {
    font-size: 24px;
    color: var(--color-text);
    margin-bottom: 5px;
}

.login-header p {
    color: var(--color-text-light);
    font-size: 14px;
}

.login-form {
    margin-top: 30px;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    font-size: 14px;
}

/* ============================================
   VOUCHER PAGE
   ============================================ */
.voucher-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    padding: 20px;
}

.voucher-box {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

.voucher-header {
    text-align: center;
    margin-bottom: 30px;
}

.voucher-header .logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.voucher-header h1 {
    font-size: 24px;
    color: var(--color-text);
    margin-bottom: 5px;
}

.voucher-header p {
    color: var(--color-text-light);
    font-size: 14px;
}

.voucher-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    font-size: 14px;
    color: var(--color-text-light);
}

/* ============================================
   LANDING PAGE
   ============================================ */
.landing-page {
    min-height: 100vh;
}

.landing-header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.landing-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-header .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    background: url('../img/logo.png') no-repeat left center;
    background-size: contain;
    padding-left: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.landing-header nav {
    display: flex;
    gap: 15px;
}

.hero {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero .subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.features {
    padding: 80px 0;
    background: var(--color-white);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 14px;
}

.info-section {
    padding: 80px 0;
    background: var(--color-bg);
}

.info-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-primary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.step h4 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

.step p {
    color: var(--color-text-light);
    font-size: 14px;
}

.landing-footer {
    background: var(--color-text);
    color: var(--color-white);
    padding: 30px 0;
    text-align: center;
}

.landing-footer p {
    margin-bottom: 5px;
    font-size: 14px;
}

.landing-footer .disclaimer {
    color: var(--color-text-light);
    font-size: 12px;
}

/* ============================================
   QUESTIONÁRIO
   ============================================ */
.questionnaire-container {
    min-height: 100vh;
    background: var(--color-bg);
    padding: 40px 20px;
}

.questionnaire-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 40px;
}

.questionnaire-header {
    text-align: center;
    margin-bottom: 30px;
}

.questionnaire-header .logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.progress-bar {
    background: var(--color-border);
    border-radius: var(--radius-md);
    height: 8px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-fill {
    background: var(--gradient-primary);
    height: 100%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.question-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 25px;
}

.question-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 20px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.option-btn {
    padding: 15px 20px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.option-btn:hover {
    border-color: var(--color-secondary);
    background: #EFF6FF;
}

.option-btn.selected {
    border-color: var(--color-secondary);
    background: var(--color-secondary);
    color: var(--color-white);
}

/* ============================================
   DASHBOARD LAYOUT
   ============================================ */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    width: 200px;
    background: var(--color-primary);
    color: var(--color-white);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-header img {
    max-height: 90px;
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto 10px;
}

@media (max-width: 768px) {
    .sidebar-header img {
        max-height: 60px;
    }
}

.sidebar-header .logo {
    font-size: 24px;
    font-weight: 700;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.sidebar-nav a .icon {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.main-content {
    flex: 1;
    margin-left: 200px;
    background: var(--color-bg);
}

.topbar {
    background: var(--color-white);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 600;
    font-size: 14px;
}

.content-area {
    padding: 30px;
}

/* ============================================
   CARDS ESTATÍSTICAS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--color-secondary);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stat-card-icon {
    font-size: 24px;
}

.stat-card-label {
    font-size: 14px;
    color: var(--color-text-light);
}

.stat-card-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
}

/* ============================================
   TABELAS
   ============================================ */
.table-container {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.table th {
    background: var(--color-bg);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.table tr:hover {
    background: #F9FAFB;
}

.table tr:last-child td {
    border-bottom: none;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-active {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge-used {
    background: #EDE9FE;
    color: #5B21B6;
}

.badge-expired {
    background: #F3F4F6;
    color: #4B5563;
}

.badge-success {
    background: #D1FAE5;
    color: #065F46;
}

/* ============================================
   RESPONSIVIDADE - MOBILE FIRST
   ============================================ */

/* ============================================
   OVERLAY PARA SIDEBAR MOBILE
   ============================================ */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   TABLE RESPONSIVE WRAPPER
   ============================================ */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive table {
    min-width: 600px;
}

/* ============================================
   BOTÕES TOUCH-FRIENDLY
   ============================================ */
.btn, .btn-sm, .btn-large {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

.btn-sm {
    padding: 10px 16px;
    font-size: 13px;
}

.btn {
    padding: 12px 24px;
    font-size: 14px;
}

/* Aumentar área de clique para links de ação */
.table a.btn, .table button.btn {
    margin: 4px 2px;
}

/* ============================================
   MOBILE EXTRA SMALL (320px - 480px)
   ============================================ */
@media (max-width: 480px) {
    .dashboard-layout {
        font-size: 12px;
    }

    .content-area {
        padding: 15px;
    }

    .topbar {
        height: 60px;
        padding: 0 15px;
    }

    .topbar h2 {
        font-size: 14px !important;
    }

    .user-menu {
        gap: 8px;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .user-menu > div:last-child {
        display: none; /* Esconde nome/email no mobile extra small */
    }

    /* Stats Grid - 1 coluna */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-card-value {
        font-size: 24px !important;
    }

    .stat-card-label {
        font-size: 11px !important;
    }

    /* Tabelas - scroll horizontal */
    .table-container {
        border-radius: 8px;
    }

    .table th,
    .table td {
        padding: 10px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Formulários */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 14px; /* Evita zoom no iOS */
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 8px;
    }

    /* Alertas */
    .alert {
        padding: 10px 12px;
        font-size: 12px;
    }

    /* Títulos */
    h1 { font-size: 22px !important; }
    h2 { font-size: 18px !important; }
    h3 { font-size: 16px !important; }

    /* Hero Section */
    .hero h1 {
        font-size: 28px !important;
    }

    .hero .subtitle {
        font-size: 16px !important;
    }

    /* Questionário */
    .questionnaire-container {
        padding: 20px 10px;
    }

    .questionnaire-box {
        padding: 20px 15px;
    }

    .question-card {
        padding: 15px;
    }

    .question-text {
        font-size: 16px;
    }

    .options-grid {
        grid-template-columns: 1fr !important;
        gap: 8px;
    }

    .option-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Grid de ações */
    .table-container[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   MOBILE / TABLET SMALL (481px - 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Sidebar - Mobile */
    .sidebar {
        transform: translateX(-100%);
        z-index: 999;
        width: 280px !important; /* Sidebar mais larga no mobile */
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    /* Main Content - Ajuste */
    .main-content {
        margin-left: 0;
        width: 100%;
    }

    /* Topbar - Ajustes */
    .topbar {
        padding: 0 15px;
        height: 60px;
    }

    .topbar-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .topbar h2 {
        font-size: 16px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* User Menu - Simplificado */
    .user-menu {
        gap: 8px;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
    }

    .user-menu > div:last-child {
        display: none; /* Esconde nome/email no mobile */
    }

    /* Content Area */
    .content-area {
        padding: 20px 15px;
    }

    /* Stats Grid - 1 coluna */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .stat-card {
        padding: 18px;
    }

    .stat-card-value {
        font-size: 28px;
    }

    /* Tabelas Responsivas */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
    }

    .table {
        min-width: 600px;
    }

    .table th,
    .table td {
        padding: 12px 15px;
        font-size: 13px;
        white-space: nowrap;
    }

    /* Cards e Grids */
    div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: repeat"] {
        grid-template-columns: 1fr !important;
    }

    /* Ações em coluna */
    div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 10px !important;
    }

    div[style*="flex-direction: row"] {
        flex-direction: column !important;
    }

    /* Botões full-width em mobile */
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .btn-sm {
        width: 100%;
    }

    /* Remover margin-bottom de elementos inline */
    .btn + .btn {
        margin-left: 0;
    }

    /* Formulários */
    .form-group {
        margin-bottom: 18px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    /* Options Grid - 1 coluna */
    .options-grid {
        grid-template-columns: 1fr !important;
    }

    .option-btn {
        padding: 14px 18px;
        font-size: 14px;
    }

    /* Hero Section */
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    /* Features */
    .features .container {
        grid-template-columns: 1fr !important;
    }

    /* Info Section */
    .steps {
        grid-template-columns: 1fr !important;
    }

    /* Questionário */
    .questionnaire-container {
        padding: 30px 15px;
    }

    .questionnaire-box {
        padding: 30px 20px;
    }

    /* Landing Page */
    .landing-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .landing-header nav {
        flex-direction: column;
        width: 100%;
    }

    .landing-header nav .btn {
        width: 100%;
    }

    /* Sidebar Sections (Admin) */
    .sidebar-section {
        margin-top: 15px;
        padding-top: 10px;
    }

    .sidebar-section-title {
        font-size: 9px;
        padding-left: 15px;
    }

    /* Badges */
    .badge {
        padding: 5px 10px;
        font-size: 10px;
    }

    /* Progress Bar */
    .progress-bar {
        height: 6px;
    }

    .progress-text {
        font-size: 12px;
    }

    /* PDF Loading Overlay */
    .pdf-loading-text {
        font-size: 14px;
        max-width: 90%;
        padding: 0 10px;
    }

    .pdf-loading-subtext {
        font-size: 12px;
        max-width: 90%;
        padding: 0 10px;
    }
}

/* ============================================
   TABLET (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Sidebar - Reduzida */
    .sidebar {
        width: 200px !important;
    }

    .main-content {
        margin-left: 200px;
    }

    /* Stats Grid - 2 colunas */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Tabelas */
    .table th,
    .table td {
        padding: 12px 15px;
        font-size: 13px;
    }

    /* Content Area */
    .content-area {
        padding: 25px;
    }

    /* Topbar */
    .topbar {
        padding: 0 25px;
        height: 65px;
    }

    /* User Menu - Mostrar apenas avatar */
    .user-menu > div:last-child {
        display: none;
    }

    /* Grid de ações - 2 colunas */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Botões */
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .btn-sm {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

.slide-up {
    animation: slideUp 0.4s ease;
}
