/* MEGATOP MULTICOLOR V3 */

:root {
    --mt-bg: #0d0b19;
    --mt-card: #19152a;
    --mt-border: #35294c;
    --mt-yellow: #facc15;
    --mt-blue: #2563eb;
    --mt-purple: #9333ea;
    --mt-red: #ef4444;
    --mt-text: #f8fafc;
    --mt-muted: #b6b1cc;
    --mt-gradient: linear-gradient(
        100deg,
        #facc15,
        #2563eb,
        #9333ea,
        #ef4444
    );
}

html {
    color-scheme: dark;
}

body {
    background:
        radial-gradient(ellipse at 0% 0%,
            rgba(37,99,235,.16), transparent 45%),
        radial-gradient(ellipse at 100% 20%,
            rgba(147,51,234,.17), transparent 45%),
        #0d0b19 !important;
    background-attachment: fixed !important;
    color: var(--mt-text) !important;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--mt-gradient);
    z-index: 9999;
    pointer-events: none;
}

/* CARTOES E SUPERFICIES */

.bg-gray-900 {
    background-color: #19152a !important;
}

.bg-gray-800,
.bg-slate-800 {
    background-color: #241e38 !important;
}

.bg-gray-700 {
    background-color: #352b4c !important;
}

.bg-black {
    background-color: #100d20 !important;
}

.border-gray-700,
.border-gray-800,
.border-slate-700 {
    border-color: #35294c !important;
}

.text-gray-400 {
    color: #b6b1cc !important;
}

.text-gray-500 {
    color: #a49bbd !important;
}

.text-gray-300 {
    color: #d6d0e6 !important;
}

.rounded-xl {
    border-radius: 16px !important;
}

/* IDENTIDADE VISUAL */

.megatop-brand {
    background: linear-gradient(
        120deg,#18234a,#26163e
    ) !important;
    border: 1px solid #493769 !important;
    border-left: 4px solid #facc15 !important;
}

.megatop-brand-name {
    color: #facc15 !important;
}

.megatop-brand-name span {
    color: #c084fc !important;
}

.megatop-brand-sub {
    color: #c4b5d8 !important;
}

.logo-glow {
    filter: drop-shadow(
        0 4px 20px rgba(147,51,234,.25)
    ) !important;
}

/* PAGINA INICIAL */

.mt-kicker {
    background: rgba(250,204,21,.08) !important;
    color: #facc15 !important;
    border-color: rgba(250,204,21,.25) !important;
}

.mt-hero-title {
    color: #ffffff !important;
}

.mt-hero-title span {
    background: linear-gradient(
        90deg,#facc15,#60a5fa,#c084fc,#fb7185
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent !important;
}

.mt-description {
    color: #c4b5d8 !important;
}

.mt-benefit {
    background: #19152a !important;
    border-color: #35294c !important;
}

.mt-benefit:nth-child(1) {
    background: #30271b !important;
    border-color: #665020 !important;
}

.mt-benefit:nth-child(1) i {
    color: #facc15 !important;
}

.mt-benefit:nth-child(2) {
    background: #142344 !important;
    border-color: #284b89 !important;
}

.mt-benefit:nth-child(2) i {
    color: #60a5fa !important;
}

.mt-benefit:nth-child(3) {
    background: #28183d !important;
    border-color: #593581 !important;
}

.mt-benefit:nth-child(3) i {
    color: #c084fc !important;
}

.mt-access {
    background: #19152a !important;
    border-color: #493769 !important;
    box-shadow: 0 20px 50px rgba(0,0,0,.3) !important;
}

.mt-access h2 {
    color: #facc15 !important;
}

.mt-access p {
    color: #b6b1cc !important;
}

.mt-login {
    background: linear-gradient(
        110deg,#1d4ed8,#2563eb
    ) !important;
    color: #fff !important;
    border-color: #3b82f6 !important;
}

.mt-register {
    background: linear-gradient(
        110deg,#6d28d9,#7e22ce
    ) !important;
    color: #fff !important;
    border-color: #9333ea !important;
}

.mt-support {
    background: #b91c1c !important;
    color: #fff !important;
    border: 1px solid #ef4444 !important;
}

.mt-return,
.mt-footer a {
    color: #facc15 !important;
}

.mt-footer {
    color: #b6b1cc !important;
}

/* LOGIN E ASSISTENTE */

.chat-card {
    background: #19152a !important;
    border-color: #493769 !important;
}

.chat-header {
    background: linear-gradient(
        110deg,#1d4ed8,#7e22ce,#be123c
    ) !important;
    border-bottom: 2px solid #facc15 !important;
}

.chat-header i {
    color: #fde047 !important;
}

.msg-bot {
    background: #f3efff !important;
    color: #31204c !important;
    border-color: #9333ea !important;
}

.msg-bot .text-gray-400,
.msg-bot .text-gray-500 {
    color: #66557e !important;
}

.msg-user {
    background: #1d4ed8 !important;
    color: #ffffff !important;
}

.btn-option {
    background: #1d4ed8 !important;
    color: #fff !important;
}

.btn-brand {
    background: #7e22ce !important;
    color: #fff !important;
}

.btn-red {
    background: #b91c1c !important;
    color: #fff !important;
}

.btn-back {
    background: #4c3c66 !important;
    color: #fff !important;
}

.btn-option:hover {
    background: #1e40af !important;
}

.btn-brand:hover {
    background: #6b21a8 !important;
}

.btn-red:hover {
    background: #991b1b !important;
}

/* DASHBOARD E ADMIN */

.text-sky-400,
.text-blue-400 {
    color: #60a5fa !important;
}

.text-purple-400 {
    color: #c084fc !important;
}

.text-yellow-400 {
    color: #facc15 !important;
}

.text-red-400 {
    color: #fb7185 !important;
}

.bg-sky-600,
.bg-blue-600 {
    background-color: #1d4ed8 !important;
}

.bg-sky-500,
.bg-blue-500 {
    background-color: #2563eb !important;
}

.bg-purple-600 {
    background-color: #7e22ce !important;
}

.bg-purple-500 {
    background-color: #9333ea !important;
}

.bg-red-600 {
    background-color: #b91c1c !important;
}

.hover\:bg-sky-500:hover,
.hover\:bg-blue-500:hover {
    background-color: #1e40af !important;
}

.hover\:bg-purple-500:hover {
    background-color: #6b21a8 !important;
}

.hover\:bg-red-700:hover {
    background-color: #991b1b !important;
}

.from-blue-900.to-indigo-900 {
    background: linear-gradient(
        120deg,#1e3a8a,#581c87
    ) !important;
    border-color: #7650b5 !important;
}

.from-blue-900.to-indigo-900 h2 {
    color: #fde047 !important;
}

.from-blue-900.to-indigo-900 button {
    background: #facc15 !important;
    color: #211600 !important;
}

.plano-card {
    border-top: 3px solid #2563eb !important;
}

.plano-card:nth-child(4n+2) {
    border-top-color: #9333ea !important;
}

.plano-card:nth-child(4n+3) {
    border-top-color: #facc15 !important;
}

.plano-card:nth-child(4n+4) {
    border-top-color: #ef4444 !important;
}

.plano-card:hover {
    box-shadow: 0 8px 25px rgba(147,51,234,.15) !important;
}

/* MENU INFERIOR */

.bottom-nav {
    background: rgba(20,15,35,.98) !important;
    border-top: 2px solid #6d28d9 !important;
}

.nav-link {
    color: #b6b1cc !important;
}

.nav-link.active {
    color: #facc15 !important;
    background: rgba(250,204,21,.08) !important;
}

.logged-badge-admin {
    background: linear-gradient(
        120deg,#1d4ed8,#7e22ce
    ) !important;
    box-shadow: none !important;
}

/* FORMULARIOS E JANELAS */

input:focus,
textarea:focus,
select:focus {
    border-color: #a855f7 !important;
    box-shadow: 0 0 0 3px rgba(168,85,247,.12) !important;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #facc15 !important;
    outline-offset: 3px;
}

.swal2-popup.swal-dark {
    background: #19152a !important;
    border-color: #493769 !important;
}

.swal2-popup.swal-dark .swal2-input {
    background: #100d20 !important;
    border-color: #493769 !important;
}

.swal2-confirm {
    background-color: #1d4ed8 !important;
}

.swal2-cancel {
    background-color: #b91c1c !important;
}

::-webkit-scrollbar-thumb {
    background: #584478 !important;
}

@media(prefers-reduced-motion: reduce) {
    .animate-ping,
    .animate-pulse {
        animation: none !important;
    }
}
