/* Register Page Styles */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.auth-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #10b981);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

.auth-benefits {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-icon {
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.benefit-text {
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Style Django form fields */
.auth-form p {
    margin-bottom: 1.25rem;
}

.auth-form label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form textarea,
.auth-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
    font-family: inherit;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.auth-form input::placeholder,
.auth-form textarea::placeholder {
    color: #9ca3af;
}

/* Help text styling */
.auth-form .helptext {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Error styling */
.auth-form .errorlist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.auth-form .errorlist li {
    color: #dc2626;
    font-size: 0.875rem;
    background: #fef2f2;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #fecaca;
    margin-bottom: 0.5rem;
}

.auth-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.125rem;
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.auth-switch {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.auth-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.auth-security {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid #f59e0b;
}

.security-badge {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.security-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.security-text strong {
    display: block;
    color: #92400e;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.security-text small {
    color: #b45309;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
        min-height: calc(100vh - 150px);
    }
    
    .auth-card {
        padding: 2rem;
        border-radius: 1rem;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
    
    .auth-subtitle {
        font-size: 0.875rem;
    }
    
    .auth-benefits {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-icon {
        font-size: 2.5rem;
    }
    
    .benefit-item {
        gap: 0.5rem;
    }
    
    .benefit-text {
        font-size: 0.8125rem;
    }
}