@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

html,
div,
body {
    font-family: 'Montserrat', sans-serif !important;
}

:root {
    --primary-color: #0c65ff;
}

.bg-gradient {
    background: linear-gradient(to bottom, var(--primary-color), white);
}

.bg-primary {
    background: var(--primary-color) !important;
}

.bg-primary:hover {
    background: color-mix(in srgb, var(--primary-color) 70%, white) !important;
}


.bg-alt {
    background: color-mix(in srgb, var(--primary-color) 10%, white) !important;
}

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

.text-alt {
    color: #bcd2ff !important;
}

.text-2xs {
    font-size: 11px !important;
}

.z-1 {
    z-index: -1 !important;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #F59E0B;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.3s linear infinite;
    margin: auto;
    z-index: 999999;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.pointer {
    cursor: pointer;
}

.bg-white {
    background: white !important;
}

.box {
    width: 40px !important;
    height: 40px !important;
    padding: 9px !important;
}

.box-inner {
    position: relative;
    top: -3px !important;
}

.bg-ash {
    background: #f7f7f7 !important;
}

.border-ash {
    border: 1px solid #f1f1f1 !important;
}

.bmi {
    font-size: 25px;
}

[x-cloak] {
    display: none;
}

.toastify {
    background: #323232 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 10px !important;
    font-size: 10px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.toastify-success {
    background: linear-gradient(to right, #00b09b, #96c93d) !important;
}

.toastify-error {
    background: linear-gradient(to right, #ff416c, #ff4b2b) !important;
}

.loader {
    width: 15px;
    height: 15px;
    border: 2px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    animation: pulse 1s linear infinite;
}

.loader:after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: scaleUp 1s linear infinite;
}

@keyframes scaleUp {
    0% {
        transform: translate(-50%, -50%) scale(0)
    }

    60%,
    100% {
        transform: translate(-50%, -50%) scale(1)
    }
}

@keyframes pulse {

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

    80% {
        transform: scale(1.2)
    }
}

.ld {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

.ld::after,
.ld::before {
    content: '';
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFF;
    position: absolute;
    left: 0;
    top: 0;
    animation: animloader 1s linear infinite;
}

.ld::after {
    animation-delay: 0s;
}

@keyframes animloader {
    0% {
        transform: scale(0);
        opacity: 1;
    }

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

.blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    visibility: hidden;
}

.blur {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

.slide-up {
    transform: translateY(100%);
    transition: transform 0.2s ease-out;
}

.slide-up-active {
    transform: translateY(0%);
}

.canvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 8;
    display: none;
}

.canvas-overlay-active {
    display: block;
}

.hidden {
    display: none;
}

.bg-gray-10 {
    background: #f8f8fb !important
}


.strength-bar {
    height: 4px;
    transition: all 0.3s ease;
}

.strength-bar.weak {
    width: 25%;
    background: #EF4444;
}

.strength-bar.medium {
    width: 50%;
    background: #F59E0B;
}

.strength-bar.strong {
    width: 75%;
    background: #10B981;
}

.strength-bar.very-strong {
    width: 100%;
    background: #059669;
}