.auth_container {
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    min-width: 380px;
    max-width: 380px;
    margin: 40px auto;
    text-align: center;
    box-sizing: border-box;
}

.auth_container h1 {
    font-size: 24px;
    margin: 0 0 5px 0;
}

.auth_container p {
    color: #8a8a8a;
    font-size: 14px;
}

.auth_form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form_group {
    position: relative;
}

.form_group input {
    width: 100%;
    padding: 12px 15px;
    background-color: #2a2a2a;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    transition: background-color 0.3s ease;
}

.form_group input:focus {
    outline: none;
    background-color: #333;
}

.auth_button {
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}

.error_message {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.aut_input {
    width: 100%;
    max-height: 40px;
    outline: none;
    border: 2px solid transparent;
    color: var(--text_color);
    padding: 10px 15px;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-top: -15px;
    text-align: left;
}

.aut_input:focus {
    box-shadow: 0 6px 20px rgba(109, 58, 255, 0.3);
    border-color: transparent;
    outline: none;
}

.auth_description {
    color: #8a8a8a;
    margin-top: 0px;
    margin-bottom: 23px;
}

.auth_label {
    font-size: 15px;
    margin-bottom: 8px;
    margin-top: 10px;
    text-align: left;
}

.auth_input::placeholder {
    color: #8a8a8a;
}

.auth_link {
    display: block;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #8a8a8a;
}

.auth_link a {
    color: var(--text_color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth_link a:hover {
    color: #ccc;
    text-decoration: underline;
}

.auth_error {
    padding: 10px;
    margin-bottom: 15px;
    background-color: rgba(255, 0, 0, 0.1);
    border-left: 3px solid #ff3a3a;
    color: #ff3a3a;
    font-size: 14px;
    border-radius: 8px;
}

.auth_success {
    padding: 10px;
    margin-bottom: 15px;
    background-color: rgba(0, 255, 0, 0.1);
    border-left: 3px solid #3aff3a;
    color: #3aff3a;
    font-size: 14px;
    border-radius: 8px;
}

.password-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.forgot-password {
    color: #8a8a8a;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.3s ease;
    margin-top: 3px;
}

.forgot-password:hover {
    color: var(--text_color);
    text-decoration: underline;
}

.username_input_container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.username_status {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    opacity: 0.8;
    transition: all 0.3s ease;
    margin-top: -4px;
}

.username_status.checking {
    color: #888;
}

.username_status.available {
    color: #4CAF50;
}

.username_status.taken {
    color: #f44336;
}

.username_status.error {
    color: #ff9800;
} 

@media (max-width: 767px) {
    .auth_container {
        padding: 25px;
    }
}