/* 
* Modal deve sempre ter fundo fora do modal com blur 10px e background rgba(255,255,255,0.3)
* border-radius de div pai deve ser sempre 30px
* border-radius de div filha deve ser sempre 15px
* shadow padrão deve ser sempre  box-shadow: var(--shadow);
* btn com apenas icon, sem texto deve ser sempre circulo perfeito
*/


/* ========================================
   IMPORTS DE FONTES
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital,wght@0,400;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Belgrano&display=swap');
@import url('https://fonts.cdnfonts.com/css/reddit-mono');


/* ========================================
   VARIÁVEIS CSS - TEMA CLARO
   ======================================== */

:root {
    --white: #ffffff;
    --background: #fafafd;
    --foreground: #4f5263;
    --card: #ffffff;
    --card-foreground: #535565;
    --popover: #ffffff;
    --popover-foreground: #484a56;
    --primary: #6c739e;
    --primary-foreground: #ffffff;
    --secondary: #3c426e;
    --secondary-foreground: #ffffff;
    --muted: #f0f0f7;
    --muted-foreground: #888888;
    --accent: #b8bbce;
    --accent-foreground: #283066;
    --success: #63ca63;
    --success-foreground: #ffffff;
    --warning: #f3b33c;
    --warning-foreground: #ffffff;
    --error: #e04951;
    --error-foreground: #ffffff;
    --destructive: #d46466;
    --destructive-foreground: #ffffff;
    --border: #ffffff00;
    --input: #c4c6cf;
    
    /* STATUS DE CENAS - Aurora Design System */
    --status-a-fazer: #d00309;         /* Vermelho forte */
    --status-em-progresso: #e68a00;    /* Amarelo/Dourado */
    --status-em-revisao: #1e5cbd;      /* Azul médio */
    --status-concluido: #38ac34;       /* Verde suave */
    
    /* STATUS DE PROJETOS - Aurora Design System */
    --status-projeto-rascunho: #6c727c;      /* Cinza */
    --status-projeto-em-andamento: #385d97;  /* Azul */
    --status-projeto-em-revisao: #be6c1f;    /* Amarelo */
    --status-projeto-concluido: #15bb52;     /* Verde */
    
    --ring: #666b8a;
    --chart-1: #a5b1be;
    --chart-2: #818ea1;
    --chart-3: #5f6c80;
    --chart-4: #333d4e;
    --chart-5: #1e2235;
    --sidebar: #fafafa;
    --sidebar-foreground: #666b8a;
    --sidebar-primary: #d4d7e7;
    --sidebar-primary-foreground: #504f57;
    --sidebar-accent: #f5f5f5;
    --sidebar-accent-foreground: #3d3d43;
    --sidebar-border: #ffffff00;
    --sidebar-ring: #666b8a;
    --font-sans: ABeeZee, ui-sans-serif, sans-serif, system-ui;
    --font-serif: Belgrano, ui-serif, serif;
    --font-mono: 'Reddit Mono', ui-monospace, monospace;
    --font-2xs: 8px;
    --font-xs: 10px;
    --font-sm: 12px;
    --font-md: 14px;
    --font-lg: 18px;
    --font-xl: 20px;
    --font-2xl: 22px;
    --font-3xl: 32px;
    --font-4xl: 42px;
    --font-5xl: 52px;
    --radius: 1.5rem;
    --shadow-2xs: 0 4px 5px 0px hsl(233.6842 18.6275% 40% / 0.01);
    --shadow-xs: 0 4px 5px 0px hsl(233.6842 18.6275% 40% / 0.02);
    --shadow-sm: 0 4px 5px 0px hsl(233.6842 18.6275% 40% / 0.03), 0 1px 2px -1px hsl(233.6842 18.6275% 40% / 0.03);
    --shadow: 0 4px 5px 0px hsl(233.6842 18.6275% 40% / 0.04), 0 1px 2px -1px hsl(233.6842 18.6275% 40% / 0.04);
    --shadow-md: 0 4px 5px 0px hsl(233.6842 18.6275% 40% / 0.04), 0 2px 4px -1px hsl(233.6842 18.6275% 40% / 0.04);
    --shadow-lg: 0 4px 5px 0px hsl(233.6842 18.6275% 40% / 0.05), 0 4px 6px -1px hsl(233.6842 18.6275% 40% / 0.05);
    --shadow-xl: 0 4px 5px 0px hsl(233.6842 18.6275% 40% / 0.06), 0 8px 10px -1px hsl(233.6842 18.6275% 40% / 0.06);
    --shadow-2xl: 0 4px 5px 0px hsl(233.6842 18.6275% 40% / 0.07);
    --tracking-normal: -0.025em;
    --spacing: 0.3rem;
}


/* ========================================
   VARIÁVEIS CSS - TEMA ESCURO
   ======================================== */

.dark {
    --background: #1a1b23;
    --foreground: #c4c7d6;
    --card: #232430;
    --card-foreground: #d4d7e7;
    --popover: #2a2b3a;
    --popover-foreground: #d4d7e7;
    --primary: #8b91b3;
    --primary-foreground: #1a1b23;
    --secondary: #2a2b3a;
    --secondary-foreground: #e0e3f0;
    --muted: #232430;
    --muted-foreground: #8b8fa0;
    --accent: #9a9aba;
    --accent-foreground: #1a1b23;
    --success: #4ade80;
    --success-foreground: #1a1b23;
    --warning: #ffb347;
    --warning-foreground: #1a1b23;
    --error: #ff6b6b;
    --error-foreground: #ffffff;
    --destructive: #ef4144;
    --destructive-foreground: #ffffff;
    --border: #3a3b4a50;
    --input: #4a4b5a;
    
    /* STATUS DE CENAS - Aurora Design System */
    --status-a-fazer: #ff6b6b;         /* Vermelho suave */
    --status-em-progresso: #ffb347;    /* Amarelo/Dourado */
    --status-em-revisao: #6b9fff;      /* Azul claro */
    --status-concluido: #4ade80;       /* Verde suave */
    
    /* STATUS DE PROJETOS - Aurora Design System */
    --status-projeto-rascunho: #9ca3af;      /* Cinza */
    --status-projeto-em-andamento: #3b82f6;  /* Azul */
    --status-projeto-em-revisao: #eab308;    /* Amarelo */
    --status-projeto-concluido: #22c55e;     /* Verde */
    
    --ring: #8b91b3;
    --chart-1: #3a4a5c;
    --chart-2: #4a5a6c;
    --chart-3: #5a6a7c;
    --chart-4: #6a7a8c;
    --chart-5: #7a8a9c;
    --sidebar: #1e1f2a;
    --sidebar-foreground: #c4c7d6;
    --sidebar-primary: #3a3b4a;
    --sidebar-primary-foreground: #d4d7e7;
    --sidebar-accent: #2a2b3a;
    --sidebar-accent-foreground: #e0e3f0;
    --sidebar-border: #3a3b4a00;
    --sidebar-ring: #8b91b3;
    --font-sans: ABeeZee, ui-sans-serif, sans-serif, system-ui;
    --font-serif: Belgrano, ui-serif, serif;
    --font-mono: 'Reddit Mono', ui-monospace, monospace;
    --radius: 2rem;
    --shadow-2xs: 0 4px 5px 0px hsl(0 0% 0% / 0.1);
    --shadow-xs: 0 4px 5px 0px hsl(0 0% 0% / 0.1);
    --shadow-sm: 0 4px 5px 0px hsl(0 0% 0% / 0.15), 0 1px 2px -1px hsl(0 0% 0% / 0.15);
    --shadow: 0 4px 5px 0px hsl(0 0% 0% / 0.15), 0 1px 2px -1px hsl(0 0% 0% / 0.15);
    --shadow-md: 0 4px 5px 0px hsl(0 0% 0% / 0.2), 0 2px 4px -1px hsl(0 0% 0% / 0.2);
    --shadow-lg: 0 4px 5px 0px hsl(0 0% 0% / 0.25), 0 4px 6px -1px hsl(0 0% 0% / 0.25);
    --shadow-xl: 0 4px 5px 0px hsl(0 0% 0% / 0.3), 0 8px 10px -1px hsl(0 0% 0% / 0.3);
    --shadow-2xl: 0 4px 5px 0px hsl(0 0% 0% / 0.4);
    --tracking-normal: -0.025em;
    --spacing: 0.3rem;
}


/* ========================================
   TEMA INLINE
   ======================================== */

@theme inline {
    --color-background: var(--background);
    --color-foreground: var(--foreground);
    --color-card: var(--card);
    --color-card-foreground: var(--card-foreground);
    --color-popover: var(--popover);
    --color-popover-foreground: var(--popover-foreground);
    --color-primary: var(--primary);
    --color-primary-foreground: var(--primary-foreground);
    --color-secondary: var(--secondary);
    --color-secondary-foreground: var(--secondary-foreground);
    --color-muted: var(--muted);
    --color-muted-foreground: var(--muted-foreground);
    --color-accent: var(--accent);
    --color-accent-foreground: var(--accent-foreground);
    --color-destructive: var(--destructive);
    --color-success: var(--success);
    --color-success-foreground: var(--success-foreground);
    --color-warning: var(--warning);
    --color-warning-foreground: var(--warning-foreground);
    --color-error: var(--error);
    --color-error-foreground: var(--error-foreground);
    --color-destructive-foreground: var(--destructive-foreground);
    --color-border: var(--border);
    --color-input: var(--input);
    --color-ring: var(--ring);
    --color-chart-1: var(--chart-1);
    --color-chart-2: var(--chart-2);
    --color-chart-3: var(--chart-3);
    --color-chart-4: var(--chart-4);
    --color-chart-5: var(--chart-5);
    --color-sidebar: var(--sidebar);
    --color-sidebar-foreground: var(--sidebar-foreground);
    --color-sidebar-primary: var(--sidebar-primary);
    --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
    --color-sidebar-accent: var(--sidebar-accent);
    --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
    --color-sidebar-border: var(--sidebar-border);
    --color-sidebar-ring: var(--sidebar-ring);
  
    --font-sans: var(--font-sans);
    --font-mono: var(--font-mono);
    --font-serif: var(--font-serif);
  
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);
    --radius-xl: calc(var(--radius) + 4px);
  
    --shadow-2xs: var(--shadow-2xs);
    --shadow-xs: var(--shadow-xs);
    --shadow-sm: var(--shadow-sm);
    --shadow: var(--shadow);
    --shadow-md: var(--shadow-md);
    --shadow-lg: var(--shadow-lg);
    --shadow-xl: var(--shadow-xl);
    --shadow-2xl: var(--shadow-2xl);
  
    --tracking-tighter: calc(var(--tracking-normal) - 0.05em);
    --tracking-tight: calc(var(--tracking-normal) - 0.025em);
    --tracking-normal: var(--tracking-normal);
    --tracking-wide: calc(var(--tracking-normal) + 0.025em);
    --tracking-wider: calc(var(--tracking-normal) + 0.05em);
    --tracking-widest: calc(var(--tracking-normal) + 0.1em);
}


/* ========================================
   ESTILOS GLOBAIS
   ======================================== */

body {
    letter-spacing: var(--tracking-normal);
    font-family: var(--font-sans);
}


/* ========================================
   TIPOGRAFIA
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
}

p, span, div, a, button {
    font-family: var(--font-sans);
}

button, a {
    border: none;
    border-radius: 99px !important;
}

.font-2xs {
    font-size: var(--font-2xs);
}
.font-xs {
    font-size: var(--font-xs);
}
.font-sm {
    font-size: var(--font-sm);
}
.font-md {
    font-size: var(--font-md);
}
.font-lg {
    font-size: var(--font-lg);
}
.font-xl {
    font-size: var(--font-xl);
}
.font-2xl {
    font-size: var(--font-2xl);
}
.font-3xl {
    font-size: var(--font-3xl);
}
.font-4xl {
    font-size: var(--font-4xl);
}
.font-5xl {
    font-size: var(--font-5xl);
}

.rounded-xl {
    border-radius: 60px;
}
.rounded-lg {
    border-radius: 30px;
}
.rounded-md {
    border-radius: 20px;
}
.rounded-sm {
    border-radius: 10px;
}
.rounded-xs {
    border-radius: 5px;
}
.rounded-none {
    border-radius: 0;
}

code, pre {
    font-family: var(--font-mono);
}


/* ========================================
   GRADIENTES AURORA
   ======================================== */

.aurora-gradient {
    background: linear-gradient(135deg, #666b8a 0%, #7c7c9a 25%, #8b8baa 50%, #9a9aba 75%, #a9a9ca 100%);
}

.aurora-gradient-soft {
    background: linear-gradient(135deg, #666b8a 0%, #7a7f9a 50%, #8e93aa 100%);
}

.aurora-gradient-vibrant {
    background: linear-gradient(135deg, #666b8a 0%, #6b73a0 25%, #707ab6 50%, #7581cc 75%, #7a88e2 100%);
}

.aurora-gradient-text {
    background: linear-gradient(135deg, #666b8a 0%, #7c7c9a 25%, #8b8baa 50%, #9a9aba 75%, #a9a9ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aurora-gradient-bg {
    background: linear-gradient(135deg, var(--background) 0%, #666b8a 25%, #7c7c9a 50%, #8b8baa 75%, #9a9aba 100%);
}

.aurora-gradient-icon {
    background: linear-gradient(135deg, var(--background) 0%, #666b8a 25%, #7c7c9a 50%, #8b8baa 75%, #9a9aba 100%);
    color: var(--primary);
}

.aurora-gradient-icon-white {
    background: linear-gradient(135deg, #666b8a 0%, #7c7c9a 25%, #8b8baa 50%, #9a9aba 75%, #a9a9ca 100%);
    color: white;
}

.bg-success {
    background: linear-gradient(135deg, var(--success) 0%, rgb(27, 168, 98) 100%);
}
.bg-success:hover {
    background: linear-gradient(135deg, var(--success) 0%, #07664a 100%);
}
.bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #8b8baa 100%);
}
.bg-primary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #8b8baa 100%);
}
.bg-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #4a4b5a 100%);
}
.bg-secondary:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, #4a4b5a 100%);
}
.bg-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #ff9900 100%);
}
.bg-warning:hover {
    background: linear-gradient(135deg, var(--warning) 0%, #ff9900 100%);
}
.bg-error {
    background: linear-gradient(135deg, var(--error) 0%, #ff4d4d 100%);
}
.bg-error:hover {
    background: linear-gradient(135deg, var(--error) 0%, #ff4d4d 100%);
}
.bg-muted {
    background: linear-gradient(135deg, var(--muted) 0%, #8b8baa 100%);
}
.bg-muted:hover {
    background: linear-gradient(135deg, var(--muted) 0%, #8b8baa 100%);
}


/* ========================================
   BOTÕES AURORA
   ======================================== */
.btn{
    border-radius: 99px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;

}
.btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(102, 107, 138, 0.5);
}


.btn-circle{
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
}

   
.aurora-button {
    background: linear-gradient(135deg, #666b8a 0%,  #8b8baa 20%, #9a9aba 60% , #7c7c9a  100%);
    opacity: 0.9;
    color: var(--primary-foreground);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 8px rgba(102, 107, 138, 0.2);
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.aurora-button:hover {
    background: linear-gradient(135deg, #565b7a 0%,  #8b8baa 40%,  #6c6c9a  90%,  #7c7c9a  100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(102, 107, 138, 0.5);
    color: #ffffff !important;
    opacity: 1;
}

.aurora-button-primary {
    background: linear-gradient(135deg, #595d7e 0%,  #8b8baa 20%, #6a6a91 60% , #7c7c9a  100%);
    opacity: 1;
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 8px rgba(102, 107, 138, 0.2);
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
}

.aurora-button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(102, 107, 138, 0.5);
}

.aurora-button-primary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.aurora-button-secondary {
    background: linear-gradient(135deg, #dedfe9 0%,  #fafaff 20%, #e5e5f0 60% , #e4e4f3  100%);
    opacity: 0.8;
    color: var(--secondary);
    border-radius: var(--radius);
    padding: 0.5rem 1.5rem;
    border: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 8px rgba(102, 107, 138, 0.2);
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.aurora-button-secondary:hover {
    color: var(--accent-foreground);
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(102, 107, 138, 0.3);
}

.aurora-button-danger {
    background: linear-gradient(135deg, var(--destructive) 0%, #c41313 40%,  #d34f61  65% , #dd222b  100%);
    opacity: 0.8;
    color: var(--secondary-foreground);
    border: none;
    border-radius: var(--radius);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 8px rgba(102, 107, 138, 0.2);
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.aurora-button-danger:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(185, 28, 28, 0.3);
}

.aurora-button-danger:focus-visible {
    outline: 2px solid var(--destructive);
    outline-offset: 2px;
}

.aurora-button-success {
    background: linear-gradient(135deg, var(--success) 0%,  #2e924f 25%, #078632 60% , #1caf4d  100%);
    opacity: 0.8;
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
}

.aurora-button-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(102, 107, 138, 0.5);
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.aurora-button-success:focus-visible {
    outline: 2px solid var(--success);
    outline-offset: 2px;
}

.aurora-button-warning {
    background: linear-gradient(135deg, var(--warning) 0%,  rgb(230, 186, 105) 20%,  var(--warning) 60% , #eeba0f  100%);
    opacity: 0.8;
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
}

.aurora-button-warning:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(102, 107, 138, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.aurora-button-warning:focus-visible {
    outline: 2px solid var(--warning);
    outline-offset: 2px;
}


/* ========================================
   BOTÕES CIRCULARES
   ======================================== */

.aurora-btn-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), rgba(102, 107, 138, 0.8));
    box-shadow: var(--shadow-sm);
}

.aurora-btn-circle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, rgba(102, 107, 138, 0.9), var(--primary));
}

.aurora-btn-circle:active {
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-sm);
}

.aurora-btn-circle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 107, 138, 0.3);
}

.aurora-btn-circle:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-circle-secondary {
    background: linear-gradient(135deg, #dedfe9 0%, #fafaff 20%, #e5e5f0 60%, #e4e4f3 100%);
    color: var(--secondary);
    border: 1px solid var(--border);
}
.btn-circle-primary,
.btn-circle-secondary {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-width: auto;
    box-shadow: 0 2px 4px rgba(102, 107, 138, 0.2);
}

.btn-circle-secondary:hover {
    color: var(--accent-foreground);
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 107, 138, 0.3);
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.9) 0%, var(--muted) 100%);
    border-color: var(--primary);
}

.aurora-btn-circle-danger {
    background: linear-gradient(135deg, var(--destructive), rgba(239, 65, 68, 0.8));
    color: var(--destructive-foreground);
}

.aurora-btn-circle-danger:hover {
    background: linear-gradient(135deg, rgba(239, 65, 68, 0.9), var(--destructive));
}

.aurora-btn-circle-sm {
    width: 2.5rem;
    height: 2.5rem;
}

.aurora-btn-circle-lg {
    width: 3.5rem;
    height: 3.5rem;
}

.aurora-btn-circle i {
    font-size: 1.25rem;
    line-height: 1;
}

.aurora-btn-circle-sm i {
    font-size: 1rem;
}

.aurora-btn-circle-lg i {
    font-size: 1.5rem;
}

.btn-circle-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.btn-circle-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 107, 138, 0.4);
}

.btn-circle {
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.aurora-circle-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.aurora-circle-icon i,
[class*="rounded-full"] i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.aurora-circle-icon i::before,
[class*="rounded-full"] i::before {
    display: block !important;
    line-height: 1 !important;
}

button.rounded-full,
div.rounded-full,
a.rounded-full {
    display: inline-flex !important;
}

button.rounded-full i {
    align-items: center !important;
    justify-content: center !important;
}

.rounded-full > i,
.rounded-full > svg {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: inline-block !important;
}

[class*="fi-rr-"],
[class*="fi-br-"],
[class*="fi-sr-"] {
    line-height: 1 !important;
    vertical-align: middle !important;
}

.w-7.h-7.rounded-full,
.w-9.h-9.rounded-full,
.w-10.h-10.rounded-full {
    display: inline-flex !important;
    aspect-ratio: 1/1 !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}


/* ========================================
   FLOATING ACTION BUTTONS (FAB)
   ======================================== */

.aurora-fab {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
    opacity: 0.95;
}

.aurora-fab i {
    font-size: 1.1rem;
    color: inherit;
}

.aurora-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    opacity: 1;
}

.aurora-fab:active {
    transform: translateY(0);
}

.aurora-fab:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.aurora-fab-primary {
    background: linear-gradient(135deg, #666b8a 0%,  #8b8baa 20%, #9a9aba 60% , #7c7c9a  100%);
    color: var(--primary-foreground);
}

.aurora-fab-secondary {
    background: linear-gradient(135deg, #dedfe9 0%,  #fafaff 20%, #e5e5f0 60% , #e4e4f3  100%);
    color: var(--secondary);
}

.aurora-fab-danger {
    background: linear-gradient(135deg, var(--destructive) 0%, #db6060 40%, #c41313 65%, #dd222b 100%);
    color: white;
}

.aurora-fab-warning {
    background: linear-gradient(135deg, #ffb347 0%, #ff9800 50%, #ff7a00 100%);
    color: #fff;
}

.aurora-fab-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 40;
}

.aurora-fab-wrapper {
    position: relative !important;
    z-index: 50 !important;
    isolation: isolate !important;
}


/* ========================================
   TOOLTIPS
   ======================================== */

.aurora-tooltip {
    position: absolute !important;
    left: 100% !important;
    margin-left: 0.5rem;
    white-space: nowrap;
    border-radius: 99px;
    background: rgba(0,0,5,0.8);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    line-height: 1;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.15s ease;
    pointer-events: none;
    z-index: 99999 !important;
}

.aurora-fab-wrapper:hover .aurora-tooltip {
    opacity: 1 !important;
    z-index: 99999 !important;
}


/* ========================================
   CARDS
   ======================================== */

.aurora-card {
    background: var(--card);
    color: var(--card-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.aurora-card-kanban {
    background: var(--card);
    color: var(--card-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.aurora-card-kanban::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.7;
    border-radius: var(--radius) var(--radius) 0 0;
}

.aurora-card-kanban:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.aurora-card-kanban:hover::before {
    opacity: 1;
}


/* ========================================
   SIDEBAR - ANTIGA
   ======================================== */

.aurora-sidebar {
    background: var(--sidebar);
    color: var(--sidebar-foreground);
    border-right: 1px solid var(--sidebar-border);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease-in-out;
}

.aurora-sidebar-item {
    color: var(--sidebar-foreground);
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: var(--radius);
    margin-bottom: 0.25rem;
}

.aurora-sidebar-item:hover {
    background: var(--sidebar-accent);
    color: var(--sidebar-accent-foreground);
    transform: translateX(2px);
    text-decoration: none;
}

.aurora-sidebar-item.active {
    background: var(--sidebar-primary);
    color: var(--sidebar-primary-foreground);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.aurora-sidebar-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    border-radius: 0 2px 2px 0;
}


/* ========================================
   SIDEBAR NOVO - AURORA MENU BUTTONS
   ======================================== */

.aurora-sidebar-new {
    background: var(--sidebar);
    color: var(--sidebar-foreground);
    border-right: 1px solid var(--sidebar-border);
    box-shadow: var(--shadow-lg);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    width: 5rem; /* w-20 */
}

.aurora-sidebar-new.is-expanded {
    width: 16rem; /* w-64 */
}

.aurora-menu-btn {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    background: transparent;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

.aurora-menu-btn:hover:not(.active) {
    background: var(--sidebar-accent);
    color: var(--sidebar-accent-foreground);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 107, 138, 0.2);
}

.aurora-menu-btn.active {
    background: var(--sidebar-primary);
    color: var(--sidebar-primary-foreground);
    box-shadow: 0 4px 12px rgba(102, 107, 138, 0.3);
    transform: scale(1.02);
}

.aurora-menu-btn.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
}

.aurora-menu-btn i {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: inherit;
    font-size: 1.25rem;
    line-height: 1;
}

.aurora-menu-btn:hover i {
    transform: scale(1.1);
}

.aurora-menu-btn.active i {
    transform: scale(1.05);
}

.aurora-menu-btn span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25;
}

.aurora-menu-btn:hover span {
    font-weight: 600;
}

.aurora-menu-btn.active span {
    font-weight: 600;
}

.aurora-menu-btn[onclick="toggleTheme()"]:hover i {
    transform: rotate(180deg) scale(1.1);
}

.aurora-menu-btn .aurora-icon-container {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.aurora-menu-btn:hover .aurora-icon-container {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(102, 107, 138, 0.2);
}

.aurora-menu-btn .aurora-icon-container span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    font-weight: 600;
}

.aurora-menu-btn:hover .aurora-icon-container span {
    transform: scale(1.05);
}

.aurora-sidebar-new .aurora-icon-container {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(13, 13, 151, 0.1);
}

.aurora-sidebar-new:hover .aurora-icon-container {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(102, 107, 138, 0.2);
}

.aurora-sidebar-new .aurora-icon-container i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 2rem;
    line-height: 1;
}

.aurora-sidebar-new.is-expanded .aurora-icon-container i {
    transform: scale(1.05);
}

.aurora-menu-label {
    display: none;
    margin-left: 0;
    white-space: nowrap;
}

.is-expanded .aurora-menu-label {
    display: inline-block;
    margin-left: 1rem;
}

.is-expanded .aurora-menu-btn {
    justify-content: flex-start;
    padding: 0 1rem;
    width: auto;
}

.aurora-main-content {
    transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.aurora-blur {
    filter: blur(5px);
    opacity: 0.7;
    pointer-events: none;
}

.sidebar-expanded .aurora-main-content {
    /* margin-left removido - menu disruptivo não empurra o conteúdo */
}


/* ========================================
   MENU DISRUPTIVO - UX MODERNA
   ======================================== */

.aurora-menu-disruptivo {
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--sidebar-border);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    width: 5rem;
    position: relative;
    overflow: visible;
    z-index: 1000;
}

.aurora-menu-disruptivo.expanded {
    width: 16rem;
}

.aurora-menu-logo {
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    transform-origin: center;
}

.aurora-menu-logo .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #666b8a 0%, #8b8baa 50%, #a9a9ca 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.aurora-menu-logo .logo-icon img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Logo já é branco, não precisa de filtro */
}

.aurora-menu-logo .logo-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.aurora-menu-logo:hover .logo-icon::before {
    transform: translateX(100%);
}

.aurora-menu-logo .logo-text {
    margin-left: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
    background: linear-gradient(45deg, var(--sidebar-foreground), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    text-transform: none !important; /* Garantir que o logo não fique em uppercase */
    letter-spacing: normal;
}

.aurora-menu-disruptivo.expanded .aurora-menu-logo .logo-text {
    opacity: 1;
    transform: translateX(0);
    text-transform: none !important; /* Garantir que o logo não fique em uppercase quando expandido */
    letter-spacing: normal;
}


/* ========================================
   DROPDOWN DO USUÁRIO
   ======================================== */

.aurora-menu-user {
    position: relative;
    width: 100%;
}

.aurora-menu-user-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: none;
    background: transparent;
    color: var(--sidebar-foreground);
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.aurora-menu-user-trigger:hover {
    background: var(--sidebar-accent);
    color: var(--sidebar-accent-foreground);
    transform: scale(1.02);
}

.aurora-menu-user-trigger:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.aurora-menu-user-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.aurora-menu-user-trigger:hover .aurora-menu-user-avatar {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.aurora-menu-user-info {
    flex: 1;
    min-width: 0;
}

.aurora-menu-user-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--sidebar-foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.aurora-menu-user-trigger:hover .aurora-menu-user-name {
    color: var(--sidebar-accent-foreground);
}

.aurora-menu-user-status {
    margin-top: 0.25rem;
}


.aurora-user-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 0.5rem;
    background: var(--popover);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    z-index: 1000;
    min-width: 14rem;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95) translateY(8px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.aurora-user-dropdown[x-show] {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.aurora-user-dropdown[style*="display: block"] {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.aurora-user-dropdown .px-4 {
    padding: 1rem;
}



.aurora-user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--popover-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.aurora-user-dropdown-item:hover {
    background: var(--muted);
    color: var(--muted-foreground);
    transform: translateX(4px);
}

.aurora-user-dropdown-item.danger {
    color: var(--destructive);
}

.aurora-user-dropdown-item.danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--destructive);
}

.aurora-user-dropdown-item i {
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.aurora-user-dropdown-item:hover i {
    transform: scale(1.1);
}

.aurora-user-dropdown-item:focus {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
    background: var(--muted);
    color: var(--muted-foreground);
}

.aurora-user-dropdown .my-2 {
    margin: 0.5rem 0;
}

.aurora-user-dropdown .my-2[style*="border-top"] {
    border-top: 1px solid var(--border);
}

.user-dropdown {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 0.5rem;
    width: 14rem;
    background: var(--popover);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    padding: 0.5rem 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--foreground);
    transition: background-color 0.2s;
    text-decoration: none;
}

.user-dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.user-dropdown-item button {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--foreground);
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.user-dropdown-item button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.aurora-dropdown {
    background: var(--popover);
    color: var(--popover-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
}


/* ========================================
   FORMULÁRIOS
   ======================================== */

.aurora-input {
    background: var(--card);
    color: var(--card-foreground);
    border: 1px solid var(--input);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    width: 100%;
    height: 2.75rem;
}

.aurora-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(102, 107, 138, 0.2);
}

.aurora-select {
    background: var(--card) !important;
    color: var(--card-foreground) !important;
    border: 1px solid var(--input) !important;
    border-radius: var(--radius) !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    height: 2.75rem !important;
    min-width: 140px !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666b8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 1rem !important;
    padding-right: 2.5rem !important;
    color-scheme: light !important;
}

.aurora-select:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(102, 107, 138, 0.2) !important;
}

.aurora-select:hover {
    border-color: var(--primary) !important;
}

.aurora-select option {
    background: var(--card) !important;
    color: var(--card-foreground) !important;
    padding: 0.5rem !important;
    border: none !important;
    outline: none !important;
}

.aurora-select option:hover {
    background: var(--primary) !important;
    color: var(--primary-foreground) !important;
}

.aurora-select option:checked,
.aurora-select option:selected {
    background: var(--primary) !important;
    color: var(--primary-foreground) !important;
    border: none !important;
    outline: none !important;
}

.aurora-select option:focus {
    background: var(--primary) !important;
    color: var(--primary-foreground) !important;
    border: none !important;
    outline: none !important;
}

.aurora-textarea {
    background: var(--card);
    color: var(--card-foreground);
    border: 1px solid var(--input);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 100%;
    resize: vertical;
    min-height: auto;
    height: auto;
    line-height: 1.5;
}

/* Respeitar o atributo rows quando definido */
.aurora-textarea[rows] {
    min-height: auto;
    height: auto;
}

.aurora-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(102, 107, 138, 0.2);
}

.aurora-color-input {
    background: var(--card);
    border: 1px solid var(--input);
    border-radius: var(--radius);
    padding: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aurora-color-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(102, 107, 138, 0.2);
}

.aurora-color-input:hover {
    border-color: var(--primary);
}

.aurora-checkbox,
.aurora-radio {
    accent-color: var(--primary);
    cursor: pointer;
}

.aurora-checkbox:focus,
.aurora-radio:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.aurora-range {
    accent-color: var(--primary);
    background: var(--muted);
    border-radius: var(--radius);
}

.aurora-range:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.aurora-file-input {
    background: var(--card);
    color: var(--card-foreground);
    border: 1px solid var(--input);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.aurora-file-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(102, 107, 138, 0.2);
}

.aurora-file-input:hover {
    border-color: var(--primary);
}


input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]):not([type="range"]),
select,
textarea {
    background: var(--card) !important;
    color: var(--card-foreground) !important;
    border: 1px solid var(--input) !important;
    border-radius: var(--radius) !important;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]):not([type="range"]):focus,
select:focus,
textarea:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(102, 107, 138, 0.2) !important;
}

select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666b8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 1rem !important;
    padding-right: 2.5rem !important;
    cursor: pointer !important;
    color-scheme: light !important;
}

select:hover {
    border-color: var(--primary) !important;
}

select option {
    background: var(--card) !important;
    color: var(--card-foreground) !important;
    padding: 0.5rem !important;
    border: none !important;
    outline: none !important;
}

select option:hover {
    background: var(--primary) !important;
    color: var(--primary-foreground) !important;
}

select option:checked,
select option:selected {
    background: var(--primary) !important;
    color: var(--primary-foreground) !important;
    border: none !important;
    outline: none !important;
}

select option:focus {
    background: var(--primary) !important;
    color: var(--primary-foreground) !important;
    border: none !important;
    outline: none !important;
}

select {
    color-scheme: light !important;
}

.dark select {
    color-scheme: dark !important;
}

select option:checked {
    background: var(--primary) !important;
    color: var(--primary-foreground) !important;
}

input[type="color"] {
    background: var(--card) !important;
    border: 1px solid var(--input) !important;
    border-radius: var(--radius) !important;
    cursor: pointer !important;
}

input[type="color"]:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(102, 107, 138, 0.2) !important;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--primary) !important;
}

input[type="range"] {
    accent-color: var(--primary) !important;
}

@-moz-document url-prefix() {
    select option:checked {
        background: var(--primary) !important;
        color: var(--primary-foreground) !important;
    }
}


/* ========================================
   FLASH MESSAGES
   ======================================== */

.aurora-flash {
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
    margin: 1rem 0;
}

.aurora-flash.success {
    background: var(--chart-1);
    color: var(--chart-4);
    border: 1px solid var(--chart-2);
}

.aurora-flash.error {
    background: var(--destructive);
    color: var(--destructive-foreground);
}

.aurora-flash.warning {
    background: var(--chart-2);
    color: var(--chart-4);
}


/* ========================================
   ÍCONES
   ======================================== */

.aurora-icon-primary {
    color: var(--primary);
}

.aurora-icon-decorative {
    color: var(--primary);
    opacity: 0.7;
}

.aurora-icon-accent {
    color: var(--primary);
    opacity: 0.5;
}

.aurora-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.aurora-icon-container i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
/* ========================================
   EDITOR TIPTAP.JS
   ======================================== */

.ProseMirror {
    font-family: var(--font-serif);
    font-size: 16px;
    line-height: 1.5;
    color: var(--foreground);
    background: var(--card);
    border: 1px solid var(--chart-1);
    border-radius: 30px;
    padding: 1.5rem;
    min-height: 500px;
    outline: none;
    transition: border-color 0.2s ease;
}

.ProseMirror:focus {
    box-shadow: 0 0 0 2px rgba(102, 107, 138, 0.1);
    border-color: var(--ring);
}

.ProseMirror p.is-editor-empty:first-child::before {
    content: attr(data-placeholder);
    float: left;
    color: var(--muted-foreground);
    pointer-events: none;
    height: 0;
    opacity: 0.6;
}

.ProseMirror p {
    margin-bottom: 1rem;
}

.ProseMirror p:last-child {
    margin-bottom: 0;
}

.ProseMirror strong {
    font-weight: 600;
}

.ProseMirror em {
    font-style: italic;
}

.ProseMirror u {
    text-decoration: underline;
}

.ProseMirror s {
    text-decoration: line-through;
}

.ProseMirror h1, .ProseMirror h2, .ProseMirror h3, 
.ProseMirror h4, .ProseMirror h5, .ProseMirror h6 {
    font-family: var(--font-serif);
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.ProseMirror h1 { font-size: 2rem; }
.ProseMirror h2 { font-size: 1.5rem; }
.ProseMirror h3 { font-size: 1.25rem; }
.ProseMirror h4 { font-size: 1.125rem; }
.ProseMirror h5 { font-size: 1rem; }
.ProseMirror h6 { font-size: 0.875rem; }

.ProseMirror ul, .ProseMirror ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.ProseMirror li {
    margin-bottom: 0.25rem;
}

.ProseMirror ul li {
    list-style-type: disc;
}

.ProseMirror ol li {
    list-style-type: decimal;
}

.ProseMirror blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--muted-foreground);
}

.ProseMirror code {
    background: var(--muted);
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.ProseMirror pre {
    background: var(--muted);
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.ProseMirror pre code {
    background: none;
    padding: 0;
    font-size: 0.875rem;
}

.ProseMirror a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.ProseMirror a:hover {
    color: var(--ring);
}

.ProseMirror .text-left { text-align: left; }
.ProseMirror .text-center { text-align: center; }
.ProseMirror .text-right { text-align: right; }
.ProseMirror .text-justify { text-align: justify; }

.ProseMirror.focus-mode {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--background);
    min-height: calc(100vh - 2rem);
    margin: 1rem;
    padding: 2rem;
}

.ProseMirror * {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.tiptap-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem 0.5rem 0 0;
    border-bottom: none;
}

.toolbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 0.25rem;
    background: transparent;
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.2s ease;
}

.toolbar-btn:hover {
    background: var(--muted);
    color: var(--primary);
}

.toolbar-btn.is-active {
    background: var(--primary);
    color: var(--primary-foreground);
}

.toolbar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.color-btn {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.color-btn:hover {
    border-color: var(--foreground);
}

.color-btn.is-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(102, 107, 138, 0.2);
}

.toolbar-separator {
    width: 1px;
    height: 1.5rem;
    background: var(--border);
    margin: 0 0.25rem;
}

.toolbar-dropdown {
    position: relative;
}

.toolbar-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 8rem;
}

.toolbar-dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem;
    border: none;
    background: transparent;
    color: var(--foreground);
    text-align: left;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
}

.toolbar-dropdown-item:hover {
    background: var(--muted);
}


/* ========================================
   UTILITÁRIOS
   ======================================== */

[x-cloak] {
    display: none !important;
}

.aurora-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.aurora-transition-fast {
    transition: all 0.15s ease;
}

.aurora-transition-slow {
    transition: all 0.5s ease;
}

.text-danger {
    color: var(--destructive) !important;
}

.text-success {
    color: var(--success) !important;
}
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-muted {
    color: var(--muted) !important;
}

.text-destructive {
    color: var(--destructive) !important;
}
.text-white {
    color: var(--white) !important;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ========================================
   FOCUS VISIBLE - ACESSIBILIDADE
   ======================================== */

.aurora-button:focus-visible,
.aurora-button-secondary:focus-visible,
.aurora-btn-circle:focus-visible,
.aurora-input:focus-visible,
.aurora-textarea:focus-visible,
.aurora-select:focus-visible,
.aurora-color-input:focus-visible,
.aurora-file-input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}


/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
    .aurora-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .aurora-sidebar.mobile-open {
        transform: translateX(0);
    }

    .aurora-sidebar-new {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        width: 80vw !important;
        max-width: 300px;
    }
    
    .aurora-sidebar-new.mobile-open {
        transform: translateX(0);
    }
    
    main {
        margin-left: 0 !important;
    }

    .aurora-main-content {
        margin-left: 0 !important;
    }
    
    .aurora-button,
    .aurora-button-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .aurora-card {
       margin: 0 ;
    }

    .aurora-menu-btn {
        width: 100% !important;
        justify-content: flex-start !important;
        padding: 0.75rem 1rem !important;
    }

    .aurora-menu-btn span {
        opacity: 1 !important;
    }

    .aurora-user-dropdown {
        position: fixed;
        bottom: auto;
        top: 4rem;
        left: 1rem;
        right: 1rem;
        margin-bottom: 0;
        min-width: auto;
        max-width: calc(100vw - 2rem);
    }

    .ProseMirror {
        padding: 1rem;
        min-height: 400px;
    }
    
    .tiptap-toolbar {
        padding: 0.5rem;
        gap: 0.25rem;
    }
    
    .toolbar-btn {
        width: 1.75rem;
        height: 1.75rem;
    }
}


/* ========================================
   ACESSIBILIDADE
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .aurora-user-dropdown,
    .aurora-user-dropdown-item,
    .aurora-menu-user-trigger,
    .aurora-menu-user-avatar {
        transition: none;
        transform: none;
    }
}

@media (prefers-contrast: high) {
    .aurora-user-dropdown {
        border: 2px solid var(--foreground);
    }
    
    .aurora-user-dropdown-item:hover,
    .aurora-user-dropdown-item:focus {
        background: var(--foreground);
        color: var(--background);
    }
}
.progress{
    background: linear-gradient(135deg,var(--success) 0%, var(--primary) 50%, var(--success) 100%);
    background-size: 200% 100%;
    color:var(--background);
    animation: shimmer 3s infinite;
}

.progress-primary{
    background: linear-gradient(135deg,var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
    background-size: 200% 100%;
    color:var(--background);
    animation: shimmer 3s infinite;
}
.aurora-pulse {
    animation: pulse 2s 
        cubic-bezier(.7, 0, .8, 1) infinite;
}

.border {
    border: 1px solid var(--muted);
}

/* Remove background from grid elements */
div.grid {
    background-color: unset;
    background: unset;
    background-image: none;
}

/* Custom gradient for donation button */
#btnDoacao {
    background: linear-gradient(170deg, rgba(251, 191, 36, 1) 0%, rgba(249, 115, 22, 1) 100%) !important;
}
