html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background-color: #f5f7fa;
    color: #233247;
}

.navbar {
    min-height: 70px;
}

.navbar-brand {
    color: #1d416b;
    letter-spacing: 0.02em;
}

.welcome-page {
    display: flex;
    min-height: min(680px, calc(100vh - 150px));
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.welcome-card {
    width: 100%;
    max-width: 820px;
    padding: clamp(2rem, 6vw, 4.5rem);
    border: 1px solid #e1e7ef;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff, #f0f5fc);
    box-shadow: 0 12px 32px rgba(34, 57, 86, 0.08);
}

.welcome-label {
    margin-bottom: 0.75rem;
    color: #35679f;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.welcome-card h1 {
    margin-bottom: 1rem;
    color: #1c3049;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
}

.welcome-description {
    max-width: 600px;
    margin-bottom: 1.75rem;
    color: #5c6b7e;
    font-size: 1.1rem;
    line-height: 1.7;
}

.welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.welcome-button {
    display: inline-block;
    padding: 0.7rem 1rem;
    border: 1px solid #285b95;
    border-radius: 6px;
    text-decoration: none;
}

.welcome-button-primary {
    background-color: #285b95;
    color: #fff;
}

    .welcome-button-primary:hover {
        background-color: #1f4978;
        color: #fff;
    }

.welcome-button-secondary {
    background-color: #fff;
    color: #285b95;
}

    .welcome-button-secondary:hover {
        background-color: #edf3fa;
        color: #1f4978;
    }

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
