@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Kayah+Li&display=swap');

:root {
    --text: #eae1e2;
    --background: #0a0505;
    --primary: #d89192;
    --secondary: #7f1c1e;
    --accent: #e94345;
    --font: 'Noto Sans Kayah Li', sans-serif;
}

/* Reset body styling */
body {
    font-family: var(--font);
    background-color: var(--background);
    color: var(--text);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Auth Section */
.auth-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--background);
}

.auth-container {
    max-width: 400px;
    width: 100%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.auth-subtext {
    font-size: 1rem;
    color: var(--primary);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
}

.form-group {
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    max-width: 375px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: var(--accent);
    outline: none;
}

.remember-me {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    text-align: right;
}

.remember-me label {
    font-size: 0.9rem;
    color: var(--text);
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-box span {
    font-size: 1rem;
    color: var(--text);
}

.sso-buttons {
    margin-top: 20px;
}

.sso-text {
    font-size: 0.9rem;
    color: var(--primary);
    opacity: 0.8;
    margin-bottom: 10px;
}

.sso-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.sso-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.sso-icon:hover {
    color: var(--accent);
}

.auth-footer {
    font-size: 0.9rem;
    color: var(--primary);
    opacity: 0.8;
    margin-top: 20px;
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.auth-footer a:hover {
    opacity: 0.8;
}

/* Submit Button */
.btn-primary {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: var(--background);
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary);
}
