* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 20% 30%, #0a0f1e, #03060c);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.login-container {
    background: rgba(12, 20, 30, 0.75);
    backdrop-filter: blur(12px);
    border-radius: 2.5rem;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 480px;
    border: 1px solid rgba(0, 255, 255, 0.25);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 255, 255, 0.1) inset;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #FFFFFF, #4affff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 0.5rem;
}

.subtitle {
    text-align: center;
    color: #8eafc7;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    border-bottom: 1px dashed rgba(74, 255, 255, 0.3);
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0.6rem;
}

.form-group {
    margin-bottom: 1.6rem;
}

label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #c0e0ff;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

label i {
    font-size: 0.9rem;
    color: #2cc;
}

input {
    width: 100%;
    background: rgba(0, 10, 20, 0.7);
    border: 1px solid #2c5a6e;
    border-radius: 1.2rem;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    color: #edf5ff;
    font-family: 'Inter', monospace;
    transition: all 0.2s;
    outline: none;
}

input:focus {
    border-color: #2cc8ff;
    box-shadow: 0 0 0 3px rgba(44, 200, 255, 0.2);
    background: rgba(10, 25, 40, 0.9);
}

.login-button {
    width: 100%;
    background: linear-gradient(95deg, #0c6b7e, #0c4e6e);
    border: none;
    border-radius: 2rem;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.login-button:hover:not(:disabled) {
    background: linear-gradient(95deg, #0f8aa3, #0f6083);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0, 160, 200, 0.3);
}

.login-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.loading {
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.7s linear infinite;
    margin-left: 0.5rem;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#message {
    margin-top: 1.2rem;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.6rem;
    border-radius: 2rem;
    background: rgba(0, 0, 0, 0.4);
}

.error-message {
    color: #ffb4a2;
    border-left: 3px solid #ff6e5b;
    background: rgba(255, 70, 70, 0.1);
}

.success-message {
    color: #a2ffcf;
    border-left: 3px solid #2effb0;
    background: rgba(46, 255, 176, 0.05);
}

.info-text {
    margin-top: 2rem;
    font-size: 0.7rem;
    text-align: center;
    color: #6f96b0;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem;
    border-radius: 1rem;
}

.footer {
    text-align: center;
    margin-top: 1.2rem;
    font-size: 0.65rem;
    color: #3f6d8c;
}

.access-note {
    background: rgba(255, 100, 50, 0.1);
    border: 1px solid rgba(255, 100, 50, 0.3);
    border-radius: 0.8rem;
    padding: 0.6rem;
    text-align: center;
    font-size: 0.7rem;
    margin-top: 1rem;
    color: #ffaa88;
}

.access-note i {
    margin-right: 0.4rem;
}