.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: var(--gradient-dark); /* Changed to gradient-dark */
}

.auth-form-wrapper {
    background: var(--bg-gray-light); /* Changed to bg-gray-light */
    border: 1px solid var(--border-gray); /* Changed to border-gray */
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px var(--shadow-dark); /* Changed to shadow-dark */
    text-align: center;
}

.auth-title {
    color: var(--text-white); /* Changed to text-white */
    font-size: 28px;
    font-family: 'aquire', sans-serif;
    margin-bottom: 10px;
    text-align: center;
}

.auth-subtitle {
    color: var(--text-dark); /* Changed to text-dark */
    margin-bottom: 30px;
    text-align: center;
}

.auth-form {
    width: 100%;
}

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

.form-label {
    display: block;
    color: var(--text-white); /* Changed to text-white */
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-darker); /* Changed to bg-darker */
    border: 1px solid var(--border-gray); /* Changed to border-gray */
    border-radius: 8px;
    color: var(--text-white); /* Changed to text-white */
    font-size: 16px;
    transition: all var(--transition-medium); /* Changed to transition-medium */
}

#id_email, #id_new_password1, #id_new_password2 {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-darker); /* Changed to bg-darker */
    border: 1px solid var(--border-gray); /* Changed to border-gray */
    border-radius: 8px;
    color: var(--text-white); /* Changed to text-white */
    font-size: 16px;
    transition: all var(--transition-medium); /* Changed to transition-medium */
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--btn-primary); /* Changed to btn-primary */
    box-shadow: 0 0 0 2px var(--focus-purple); /* Changed to focus-purple */
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.checkbox-label {
    color: var(--text-gray); /* Changed to text-gray */
    font-size: 14px;
    line-height: 1.4;
}

.cap input{
    width: 40%;
    padding: 12px 15px;
    background: var(--bg-darker); /* Changed to bg-darker */
    border: 1px solid var(--border-gray); /* Changed to border-gray */
    border-radius: 8px;
    color: var(--text-white); /* Changed to text-white */
    font-size: 16px;
    transition: all var(--transition-medium);
}

.cap input:focus {
    outline: none;
    border-color: var(--btn-primary); /* Changed to btn-primary */
    box-shadow: 0 0 0 2px var(--focus-purple); /* Changed to focus-purple */
}

.cap img{
    margin-top: -5px;
    margin-left: -90px;
    margin-right: 10px;
}

.checkbox-label a {
    color: var(--link-purple); /* Changed to btn-primary */
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    padding: 15px;
    background: var(--gradient-purple); /* Changed to gradient-purple */
    color: var(--text-white); /* Changed to text-white */
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-medium); /* Changed to transition-medium */
    margin-top: 20px;
    text-align: center;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-purple); /* Changed to shadow-purple */
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links p {
    margin: 10px 0;
    color: var(--text-gray); /* Changed to text-gray */
}

.auth-links a {
    color: var(--link-purple); /* Changed to btn-primary */
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.error-message {
    background: rgba(255, 68, 68, 0.1); /* Kept as is, no direct variable */
    border: 1px solid rgba(255, 68, 68, 0.3); /* Kept as is, no direct variable */
    color: var(--notification-error); /* Changed to notification-error */
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.form-help {
    color: var(--text-dark); /* Changed to text-dark */
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.success-message {
    background: rgba(76, 175, 80, 0.1); /* Kept as is, no direct variable */
    border: 1px solid rgba(76, 175, 80, 0.3); /* Kept as is, no direct variable */
    color: var(--notification-success); /* Changed to notification-success */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.success-message p {
    color: var(--text-gray); /* Changed to text-gray */
    margin: 10px 0;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .auth-form-wrapper {
        padding: 20px;
        margin: 10px;
    }
    
    .auth-title {
        font-size: 24px;
    }
}

/* Additional styles for Cloudflare Turnstile */
.cf-turnstile {
    margin: 20px 0;
}
