/* React Native Web reset */
html,
body {
    height: 100%;
}

body {
    overflow: hidden;
}

#root {
    display: flex;
    height: 100%;
    flex: 1;
}

/* Theme color variables */
:root {
    --bg-light: #f5faf7;
    --bg-dark: #1c2127;
}

/* Theme background colors */
body {
    background-color: var(--bg-light);
}

body.theme-dark,
body.theme-highContrast,
body.theme-negativeContrast {
    background-color: var(--bg-dark);
}

/* Loader overlay */
#loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-light);
    transition: opacity 0.3s ease;
}

body.theme-dark #loader-overlay,
body.theme-highContrast #loader-overlay,
body.theme-negativeContrast #loader-overlay {
    background-color: var(--bg-dark);
}

.loader {
    position: relative;
    width: 60px;
    height: 60px;
}

.circle {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 0.9;
    animation: pulse 2s infinite ease-in-out;
}

.circle.yellow {
    background-color: #f0df4f;
    left: 0;
    top: 10px;
    animation-delay: 0s;
}

.circle.blue {
    background-color: #5a91b1;
    left: 20px;
    top: 0;
    animation-delay: 1s;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }
}
