@font-face {
    font-family: "Montserrat";
    src: url("/fonts/Montserrat-VariableFont_wght.ttf") format("truetype"); 
    font-style: normal; 
    font-weight: normal; 
  } 

  @font-face {
    font-family: "Roboto";
    src: url("/fonts/Roboto-VariableFont_wdth,wght.ttf") format("truetype"); 
    font-style: normal; 
    font-weight: normal; 
  } 

:root {
    --tg-bg: #eef2f6;
    --tg-bg-2: #f7f9fc;
    --tg-surface: #ffffff;
    --tg-surface-2: #f7f8fa;
    --tg-card: #ffffff;
    --tg-card-2: #f7f8fa;
    --tg-border: rgba(15, 23, 42, 0.12);
    --tg-text: #0f172a;
    --tg-muted: #64748b;
    --tg-primary: #2aabee;
    --tg-primary-2: #1d9bf0;
    --tg-primary-soft: rgba(42, 171, 238, 0.14);
    --tg-bubble-out: #2aabee;
    --tg-bubble-in: #f1f5f9;
    --tg-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    --tg-shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.10);
    --tg-radius: 16px;
    --tg-radius-lg: 20px;
    --tg-focus: 0 0 0 4px rgba(42, 171, 238, 0.22);
    --tg-transition: 180ms ease;
}

body.theme-dark {
    --tg-bg: #0b1220;
    --tg-bg-2: #060b18;
    --tg-surface: #0f172a;
    --tg-surface-2: #111827;
    --tg-card: #0f172a;
    --tg-card-2: #111827;
    --tg-border: rgba(148, 163, 184, 0.22);
    --tg-text: #e5e7eb;
    --tg-muted: #94a3b8;
    --tg-primary: #38bdf8;
    --tg-primary-2: #0ea5e9;
    --tg-primary-soft: rgba(56, 189, 248, 0.16);
    --tg-bubble-out: #0ea5e9;
    --tg-bubble-in: rgba(148, 163, 184, 0.14);
    --tg-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    --tg-shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.35);
    --tg-focus: 0 0 0 4px rgba(56, 189, 248, 0.22);
}

body.theme-midnight {
    --tg-bg: #060b18;
    --tg-bg-2: #050815;
    --tg-surface: #0b1022;
    --tg-surface-2: #0a0f20;
    --tg-card: #0b1022;
    --tg-card-2: #0a0f20;
    --tg-border: rgba(162, 168, 195, 0.18);
    --tg-text: #e6eaff;
    --tg-muted: #a2a8c3;
    --tg-primary: #60a5fa;
    --tg-primary-2: #3b82f6;
    --tg-primary-soft: rgba(96, 165, 250, 0.18);
    --tg-bubble-out: #3b82f6;
    --tg-bubble-in: rgba(162, 168, 195, 0.14);
    --tg-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
    --tg-shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.40);
    --tg-focus: 0 0 0 4px rgba(96, 165, 250, 0.22);
}

body.theme-sunset {
    --tg-bg: #fff7ed;
    --tg-bg-2: #fdf2f8;
    --tg-surface: rgba(255, 255, 255, 0.92);
    --tg-surface-2: rgba(255, 255, 255, 0.85);
    --tg-card: rgba(255, 255, 255, 0.92);
    --tg-card-2: rgba(255, 255, 255, 0.85);
    --tg-border: rgba(15, 23, 42, 0.12);
    --tg-text: #0f172a;
    --tg-muted: #475569;
    --tg-primary: #f97316;
    --tg-primary-2: #ea580c;
    --tg-primary-soft: rgba(249, 115, 22, 0.14);
    --tg-bubble-out: #f97316;
    --tg-bubble-in: #fff7ed;
    --tg-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
    --tg-shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.10);
    --tg-focus: 0 0 0 4px rgba(249, 115, 22, 0.22);
}

body.theme-mint {
    --tg-bg: #f0fdf4;
    --tg-bg-2: #ecfeff;
    --tg-surface: rgba(255, 255, 255, 0.92);
    --tg-surface-2: rgba(255, 255, 255, 0.85);
    --tg-card: rgba(255, 255, 255, 0.92);
    --tg-card-2: rgba(255, 255, 255, 0.85);
    --tg-border: rgba(15, 23, 42, 0.12);
    --tg-text: #0f172a;
    --tg-muted: #475569;
    --tg-primary: #10b981;
    --tg-primary-2: #059669;
    --tg-primary-soft: rgba(16, 185, 129, 0.14);
    --tg-bubble-out: #10b981;
    --tg-bubble-in: #f0fdf4;
    --tg-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
    --tg-shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.10);
    --tg-focus: 0 0 0 4px rgba(16, 185, 129, 0.22);
}

body.theme-violet {
    --tg-bg: #faf5ff;
    --tg-bg-2: #f5f3ff;
    --tg-surface: rgba(255, 255, 255, 0.92);
    --tg-surface-2: rgba(255, 255, 255, 0.85);
    --tg-card: rgba(255, 255, 255, 0.92);
    --tg-card-2: rgba(255, 255, 255, 0.85);
    --tg-border: rgba(15, 23, 42, 0.12);
    --tg-text: #0f172a;
    --tg-muted: #475569;
    --tg-primary: #8b5cf6;
    --tg-primary-2: #7c3aed;
    --tg-primary-soft: rgba(139, 92, 246, 0.14);
    --tg-bubble-out: #8b5cf6;
    --tg-bubble-in: #f5f3ff;
    --tg-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
    --tg-shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.10);
    --tg-focus: 0 0 0 4px rgba(139, 92, 246, 0.22);
}

body.theme-graphite {
    --tg-bg: #0b0f14;
    --tg-bg-2: #070a0f;
    --tg-surface: #111827;
    --tg-surface-2: #0f172a;
    --tg-card: #111827;
    --tg-card-2: #0f172a;
    --tg-border: rgba(156, 163, 175, 0.22);
    --tg-text: #e5e7eb;
    --tg-muted: #9ca3af;
    --tg-primary: #22c55e;
    --tg-primary-2: #16a34a;
    --tg-primary-soft: rgba(34, 197, 94, 0.16);
    --tg-bubble-out: #22c55e;
    --tg-bubble-in: rgba(156, 163, 175, 0.12);
    --tg-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    --tg-shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.40);
    --tg-focus: 0 0 0 4px rgba(34, 197, 94, 0.22);
}

html {
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    background: linear-gradient(180deg, var(--tg-bg) 0%, var(--tg-bg-2) 100%);
    font-family: Roboto;
    font-weight: 400;
    color: var(--tg-text);
    min-height: 100vh;
    height: auto;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

main {
    min-height: 100vh;
    width: 100%;
}

h1, h2 {
    font-family: Montserrat;
    font-weight: 600;
}

a {
    color: var(--tg-primary);
    text-decoration: none;
}

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

button,
.btn,
a,
input,
textarea,
select {
    transition: background-color var(--tg-transition), color var(--tg-transition), border-color var(--tg-transition), box-shadow var(--tg-transition), transform var(--tg-transition), opacity var(--tg-transition);
}

.btn:active {
    transform: translateY(1px);
}

:focus {
    outline: none;
}

:focus-visible {
    box-shadow: var(--tg-focus) !important;
}

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

.defaulContainer {
    width: 100vw;
    height: 100vh;
}



.alert {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 20px 45px 20px 20px;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease-in-out;
    z-index: 9999;
    outline: none;
    border: none;
}

.alert-success {
    background-color: #28a745;
    color: white;
}

.alert-danger {
    background-color: #dc3545;
    color: white;
}

.alert.show {
    opacity: 1;
    transform: translateY(0);
}

.btn-close {
    margin-top: 3px;
    --bs-btn-close-focus-shadow: none;
}

body::-webkit-scrollbar {
    width: 5px;
  }
  
body::-webkit-scrollbar-track {
    background-color: #ffffff;
  }
  
body::-webkit-scrollbar-thumb {
    background-color: #9b9b9b;
  }
