/* Shared styles for login and register pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.auth-title {
    text-align: center;
    margin-bottom: 28px;
    font-size: 22px;
    font-weight: 700;
    color: #efeff1;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0e0e10;
    color: #efeff1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    background-color: #18181b;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #adadb8;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background-color: #0e0e10;
    border: 2px solid #2f2f35;
    border-radius: 6px;
    color: #efeff1;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #9146FF;
    box-shadow: 0 0 0 3px rgba(145, 70, 255, 0.2);
}

.form-group input::placeholder {
    color: #53535f;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background-color: #9146FF;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-submit:hover {
    background-color: #772ce8;
}

.btn-submit:active {
    transform: scale(0.98);
}

.error-message {
    background-color: rgba(237, 73, 86, 0.15);
    border: 1px solid #ed4956;
    color: #ed4956;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.error-message.show {
    display: block;
}

.link-text {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #adadb8;
}

.link-text a {
    color: #9146FF;
    text-decoration: none;
    font-weight: 600;
}

.link-text a:hover {
    text-decoration: underline;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #9146FF;
}

.logo span {
    color: #efeff1;
}

.password-hint {
    font-size: 12px;
    color: #adadb8;
    margin-top: 6px;
}

.remember-me label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    color: #adadb8;
    cursor: pointer;
    margin-bottom: 0;
}

.remember-me input[type="checkbox"] {
    width: auto;
    accent-color: #9146FF;
    cursor: pointer;
}
