/* ===============================
   BASE & BACKGROUND
   =============================== */

body {
    margin: 0;
    padding: 0;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;

    background-image: var(--bg-url);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}


/* ===============================
   GLASS CARD (COMMON)
   =============================== */

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;

    padding: 40px;
    width: 100%;
    max-width: 400px;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    text-align: center;
}

h2 {
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}


/* ===============================
   LOGIN FORM
   =============================== */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    width: 100%;
}

input {
    width: 100%;
    padding: 12px;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;

    color: #ffffff;
    outline: none;
    box-sizing: border-box;

    transition: 0.3s;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #007bff;
}


/* ===============================
   BUTTON
   =============================== */

.submit-btn {
    padding: 15px;

    border: none;
    border-radius: 5px;

    background: #007bff;
    color: white;

    font-weight: bold;
    text-transform: uppercase;

    cursor: pointer;
    transition: all 0.3s ease;

    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.submit-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}


/* ===============================
   ERROR MESSAGE (LOGIN)
   =============================== */

.error-msg {
    color: #ff5555;
    margin: 0 0 15px 0;
    font-size: 0.95rem;
}


/* ===============================
   BANNED VARIANT
   =============================== */

.banned-card {
    border: 1px solid rgba(255, 80, 80, 0.5);
    background: rgba(40, 0, 0, 0.2);
}

.banned-card h2 {
    color: #ff5555;
}

.icon-warning {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.time-highlight {
    color: #ff5555;
    font-weight: bold;
}

.sub-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
}

/*===============================
  LANDING PAGE
  =============================== */

.status-line {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    min-height: 1.2em;
}

.open-btn {
    margin-top: 10px;
    background: #28a745;
}

.open-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.logout-btn {
    margin-top: 25px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
}

