/**
 * Registration Page Specific Styles
 * Enhancements for better desktop view
 */

/* Registration Steps Info */
.steps-info {
    margin-top: 2.5rem;
}

.steps-info .step-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.steps-info .step-item:hover {
    border-color: var(--auth-primary);
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.1);
}

.steps-info .step-item:last-child {
    margin-bottom: 0;
}

.steps-info .step-number {
    background: var(--auth-gradient);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.steps-info .step-text {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Info Note */
.info-note {
    margin-top: 2rem;
}

.info-note .alert {
    border-radius: 10px;
    border: none;
    padding: 1.25rem;
    font-size: 0.9rem;
}

.info-note .alert-info {
    background: linear-gradient(135deg, #e7f3ff 0%, #f0f8ff 100%);
    color: #0c5460;
}

.info-note .alert i {
    margin-right: 0.5rem;
}

/* Enhanced Form Controls for Registration */
.registration-form-area .form-floating .form-control {
    height: calc(3.75rem + 2px);
    font-size: 1.05rem;
}

.registration-form-area .form-floating label {
    font-size: 1rem;
}

/* Desktop Specific Adjustments */
@media (min-width: 992px) {
    .auth-container {
        padding: 2rem;
    }
    
    .auth-page {
        padding: 2rem;
    }
    
    .registration-info {
        min-height: 650px;
    }
    
    .registration-form-area {
        min-height: 650px;
    }
    
    /* Better spacing for desktop */
    .form-floating {
        margin-bottom: 1.75rem;
    }
    
    .auth-btn {
        padding: 1rem 2.5rem;
        font-size: 1.05rem;
        margin-top: 0.5rem;
    }
}

/* Extra Large Screens */
@media (min-width: 1400px) {
    .registration-info {
        padding: 4rem;
    }
    
    .registration-form-area {
        padding: 4rem;
    }
    
    .platform-features-card {
        padding: 3.5rem;
    }
    
    .features-grid {
        gap: 2.5rem;
    }
}

/* Form Validation States */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Password Requirements Enhanced */
.password-requirements {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.75rem;
    padding-left: 0.75rem;
}

.password-requirements ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 0.75rem 0 0 0;
    padding: 0;
    padding-left: 0.75rem;
}

@media (max-width: 576px) {
    .password-requirements ul {
        grid-template-columns: 1fr;
    }
}

/* Login Page Enhancements */
.auth-card-login .form-floating .form-control {
    height: calc(3.75rem + 2px);
    font-size: 1.05rem;
    padding: 1.25rem 1rem 0.75rem;
}

.auth-card-login .auth-btn {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

/* Better Alert Styling */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background: linear-gradient(135deg, #ffe5e5 0%, #ffebeb 100%);
    color: #721c24;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #e5f5e8 100%);
    color: #155724;
}

/* Form Check Enhanced */
.form-check {
    margin-bottom: 2rem;
    padding: 1rem;
    padding-left: 2rem !important;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    border: 2px solid #dee2e6;
}

.form-check-label {
    margin-left: 0.5rem;
    font-size: 0.95rem;
}

/* Auth Links Enhanced */
.auth-links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.auth-links a {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.auth-links a:hover {
    color: var(--auth-secondary);
    text-decoration: underline;
}