html {
    font-size: 14px;
}

main {
    height: auto !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body.logged-in {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

*:focus {
    box-shadow: none !important;
}

.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%;
}

.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;
}

[data-bs-theme=light] .navbar-nav .nav-link,
.navbar-nav .nav-link {
    color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
}

[data-bs-theme=dark] .navbar-nav .nav-link {
    color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
}

.theme-toggle {
    width: 30px;
    height: 30px;
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    margin-top: 10px;
    margin-left: 5px;
}

.theme-toggle svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle #light-icon {
    opacity: 1;
    transform: scale(1);
}

.theme-toggle #dark-icon {
    opacity: 0;
    transform: scale(0.8);
}

[data-bs-theme="dark"] .theme-toggle #light-icon {
    opacity: 0;
    transform: scale(0.8);
}

[data-bs-theme="dark"] .theme-toggle #dark-icon {
    opacity: 1;
    transform: scale(1);
}