* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    background: #1d7fd6;
     background-image: radial-gradient(circle, #1d7fd6, #0071e1, #0060e9, #004cec, #0c1d8a);
}

.page {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 360px;
    background: #ffffff;
    padding: 36px 32px 32px;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.logo {
    font-size: 34px;
    font-weight: 600;
    color: #1d7fd6;
    margin-bottom: 30px;
}

.logo span {
    font-weight: 300;
}

form input {
    width: 100%;
    padding: 11px 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

form input:focus {
    outline: none;
    border-color: #1d7fd6;
}

form button {
    width: 100%;
    padding: 11px;
    background: #1d7fd6;
    border: none;
    border-radius: 3px;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
}

form button:hover {
    background: #1668b0;
}

.links {
    margin-top: 15px;
}

.links a {
    font-size: 13px;
    color: #1d7fd6;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

/* ===== Modal ===== */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.modal-content {
    background: #ffffff;
    width: 320px;
    padding: 25px;
    border-radius: 4px;
    text-align: center;
}

.modal-content h3 {
    margin-top: 0;
    color: #d9534f;
}

.modal-content p {
    font-size: 14px;
    margin: 15px 0 20px;
}

.modal-content button {
    padding: 8px 22px;
    border: none;
    background: #1d7fd6;
    color: #ffffff;
    border-radius: 3px;
    cursor: pointer;
}
.modal-content {
    background: #ffffff;
    width: 320px;
    padding: 25px;
    border-radius: 4px;
    text-align: center;

    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal.show .modal-content {
    transform: scale(1);
}
/* ===== Spinner ===== */

.spinner {
    display: none;
    width: 28px;
    height: 28px;
    margin: 15px auto 0;
    border: 3px solid #cfe2f7;
    border-top-color: #1d7fd6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner.show {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}