body {
    background-color: #f0f2f5;
    /* Tailwind bg color */
    color: #1a2230;
    /* Tailwind text color */
    font-family: 'Barlow', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --clip-btn: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
    --clip-wa: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}

.btn-clip {
    clip-path: var(--clip-btn);
}

.wa-clip {
    clip-path: var(--clip-wa);
}

.mesh-gradient {
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, rgba(232, 93, 4, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(30, 64, 175, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(232, 93, 4, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(30, 64, 175, 0.05) 0px, transparent 50%);
}

.mesh-gradient-dark {
    background-color: #f1f5f9;
    background-image:
        radial-gradient(at 50% 0%, rgba(232, 93, 4, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 50%, rgba(30, 64, 175, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(232, 93, 4, 0.1) 0px, transparent 50%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.grid-bg {
    background-image: linear-gradient(#cbd5e1 1px, transparent 1px), linear-gradient(90deg, #cbd5e1 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 93, 4, 0.15), transparent 70%);
    filter: blur(60px);
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.animate-float {
    animation: float 20s infinite ease-in-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f0f2f5;
}

::-webkit-scrollbar-thumb {
    background: #c2c9d4;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e85d04;
}

/* Selection */
::selection {
    background: rgba(232, 93, 4, 0.3);
    color: #fff;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Toast Visibility */
#toast.show {
    opacity: 1;
    transform: translate(-50%, -24px);
    pointer-events: auto;
}

#toast.success #toast-icon {
    color: #10b981;
}

#toast.error #toast-icon {
    color: #ef4444;
}