﻿@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600&display=swap');

:root {
    --bg-color: white;

    --text-color: rgb(29, 36, 113);
    --text-general-light: #212121;
    --text-greyscale-700: #616161;

    --foreground-color: rgb(29, 36, 113);
    --card-bg: white;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --button-bg: rgb(29, 36, 113);
    /* iOS blue */
    --button-hover: #005BBB;
    --background-color: #ffffff;
    --background-secondary: white;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
    background-color: var(--card-bg) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; /* Smooth transition */
}

/* 1. Apply your font everywhere  */
* {
    font-family: var(--font-stack);
}

/* 2. Main text‑colour for ALL icons (Bootstrap + Material) */
.material-icons,
.material-icons-outlined,
.material-symbols-outlined,
i.bi,
i.fas,
i.far,
i.fab,
i.fal,
i.fad,
[class^="fa-"] {
    color: var(--text-color) !important;
}

.material-symbols-outlined.filled {
    font-variation-settings: 'FILL' 1;
}

    .shell-card {
        width: 100%;
    }

/* desktop ≥ 768 px */
@media (min-width:768px) {
    .shell-card {
        max-width: 32rem; /* cap width, tweak if you like   */
        margin-inline: auto; /* centre                         */
        border-left: 1px solid rgba(0,0,0,.15);
        border-right: 1px solid rgba(0,0,0,.15);
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
        min-height: 100dvh; /* fill viewport */
        display: flex; /* stack header + body */
        flex-direction: column;
    }
}

#app {
    visibility: hidden;
}

/* full-window overlay that will fade away */
#splash {
    position: fixed;
    inset: 0;
    background: var(--bs-body-bg,#fff); /* matches Bootstrap body colour */
    z-index: 1050; /* above everything */
    transition: opacity .50s ease-in-out; /* smooth */
}

    #splash.fade-out {
        opacity: 0;
    }

body.blazor-ready #app {
    visibility: visible;
}
