body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('https://cryptalis.neocities.org/images/login-background.jpg');
    font-family: Arial, sans-serif;
    user-select: none;
}

@media (max-width: 360px) {
    body {
        font-size: 12px;
    }
}

@media (min-width: 361px) and (max-width: 720px) {
    body {
        font-size: 14px;
    }
}

@media (min-width: 721px) and (max-width: 1080px) {
    body {
        font-size: 16px;
    }
}

@media (min-width: 1081px) and (max-width: 1440px) {
    body {
        font-size: 18px;
    }
}

@media (min-width: 1441px) {
    body {
        font-size: 20px;
    }
}

.login-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 60px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    text-align: center;
    width: 600px;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
    color: white;
    animation: fadeIn 1.5s ease-in-out;
    transition: all 0.8s ease;
    user-select: none;
}

.login-box h2 {
    margin-bottom: 20px;
    color: #00C3D9;
    user-select: none;
}

.login-box input {
    width: 90%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    user-select: none;
    background-color: #3B3B3B;
}

.login-box button {
    width: 44%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    background: #315A8F;
    color: white;
    transition: 0.3s;
    user-select: none;
}

.login-box button:hover {
    background: #2A4D7A;
    user-select: none;
}

.message {
    display: none;
    margin-top: 15px;
    font-weight: bold;
    user-select: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-out {
    opacity: 0;
    transform: scale(0.9);
    user-select: none;
}

.logout-btn {
    position: fixed;
    bottom: 6px;
    right: 4px;
    background: #315A8F;
    color: white;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    transition: background 0.3s;
    display: inline-block;
    user-select: none;
    z-index: 9999;
}

.logout-btn:hover {
    background: #2A4D7A;
    user-select: none;
}

.invisible-link {
    position: absolute;
    bottom: 6px;
    left: 4px;
    background: transparent;
    color: transparent;
    text-decoration: none;
    pointer-events: auto;
    user-select: none;
}

.pin-input {
    width: 90%;
    padding: 12px;
    font-size: 18px;
    background-color: #3B3B3B;
}

.pin-button {
    background:
    transparent;
    border: none;
    color: #66b2ff;
    cursor: pointer;
    margin-top: -500;
}