/* Hide elements with the .hidden class */
.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
}
/* --- Discord/Instagram Style Auth Page --- */
body {
    background: #18191c;
    color: #fff;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    margin: 0;
    min-height: 100vh;
}

.auth-container {
    background: #23272a;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.28), 0 1.5px 0 #202225;
    max-width: 480px;
    margin: 64px auto 0 auto;
    padding: 48px 40px 36px 40px;
    border: 1.5px solid #36393f;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-title {
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 22px;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
}

.auth-section {
    margin-bottom: 40px;
    width: 100%;
}

.auth-section h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #fff;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

label {
    color: #b9bbbe;
    font-weight: 600;
    margin-bottom: 2px;
    letter-spacing: 0.2px;
}

input, textarea {
    background: #313338;
    color: #fff;
    border: 1.5px solid #36393f;
    border-radius: 8px;
    padding: 12px;
    font-size: 1.05em;
    transition: border 0.2s, background 0.2s;
    margin-bottom: 2px;
}

input:focus, textarea:focus {
    border: 2px solid #5865f2;
    outline: none;
    background: #23272a;
}

button, .auth-btn {
    background: linear-gradient(90deg, #5865f2 60%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 1.08em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: 10px;
    box-shadow: 0 1.5px 0 #202225;
    width: 100%;
}

button:hover, .auth-btn:hover {
    background: linear-gradient(90deg, #4752c4 60%, #5f3fa2 100%);
    box-shadow: 0 2.5px 8px rgba(88,101,242,0.12);
}

a {
    color: #5865f2;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

.auth-divider {
    border: none;
    border-top: 1.5px solid #36393f;
    margin: 32px 0;
    width: 100%;
}

/* moved from root */
