﻿@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&display=swap');

.smartkidz-logo-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    white-space: nowrap;
}

.letter-s {
    color: #0878C9;
}

.letter-m {
    color: #EC168B;
}

.letter-a {
    color: #F9A719;
}

.letter-r {
    color: #79BC32;
}

.letter-t {
    color: #08A9E0;
}

.letter-k {
    color: #06447D;
}

.letter-i {
    color: #06447D;
}

.letter-d {
    color: #70B82D;
}

.letter-z {
    color: #E81779;
}

.loader-subtitle {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #06447D;
    margin-top: 5px;
}
.smart-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 248, 255, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: loaderFade 0.3s ease;
}

.smart-loader-card {
    width: 360px;
    max-width: 90%;
    background: white;
    border-radius: 25px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(20, 80, 140, 0.15);
}

.loader-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border: 5px solid #e4f1ff;
    border-top-color: #079ce8;
    border-right-color: #f5b51b;
    border-bottom-color: #e83e8c;
    border-radius: 50%;
    animation: smartSpin 1.5s linear infinite;
}

.loader-book {
    font-size: 43px;
    animation: smartBounce 1.5s ease-in-out infinite;
}

.smart-loader-card h2 {
    color: #174c89;
    font-size: 32px;
    font-weight: 800;
    margin: 5px 0;
}

    .smart-loader-card h2 span {
        color: #e83e8c;
    }

.loader-subtitle {
    color: #087fd1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin: 25px 0 15px;
}

    .loader-dots span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        animation: dotBounce 0.8s infinite alternate;
    }

        .loader-dots span:nth-child(1) {
            background: #079ce8;
        }

        .loader-dots span:nth-child(2) {
            background: #f5b51b;
            animation-delay: .2s;
        }

        .loader-dots span:nth-child(3) {
            background: #e83e8c;
            animation-delay: .4s;
        }

        .loader-dots span:nth-child(4) {
            background: #76bd35;
            animation-delay: .6s;
        }

.smart-loader-card p {
    color: #536b85;
    font-size: 14px;
    font-weight: 600;
}

.loader-progress {
    width: 100%;
    height: 5px;
    background: #eaf2fb;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0 12px;
}

.loader-progress-bar {
    height: 100%;
    width: 35%;
    background: linear-gradient( 90deg, #079ce8, #f5b51b, #e83e8c );
    border-radius: 10px;
    animation: progressMove 1.8s ease-in-out infinite;
}

.smart-loader-card small {
    color: #91a0b2;
    font-size: 12px;
}

@keyframes smartSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes smartBounce {
    50% {
        transform: translateY(-7px);
    }
}

@keyframes dotBounce {
    to {
        transform: translateY(-8px);
    }
}

@keyframes progressMove {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(300%);
    }
}

@keyframes loaderFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
