/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Benefits List on Hero Section */
.benefits-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    animation: fadeInUp 0.8s ease-out backwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.8s; }
.benefit-item:nth-child(2) { animation-delay: 1.0s; }
.benefit-item:nth-child(3) { animation-delay: 1.2s; }
.benefit-item:nth-child(4) { animation-delay: 1.4s; }

.benefit-item i {
    color: var(--primary-light);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Wizard in Login Card - handled by login.css now */

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
}

/* Wizard Container adjustments for new layout */
.wizard-container {
    max-width: 100%;
    padding: 2rem;
}

/* Wizard Header */
.wizard-header {
    text-align: center;
    margin-bottom: 2rem;
}

.wizard-header h2 {
    margin-bottom: 15px;
    font-size: 28px;
    background: linear-gradient(135deg, #059669, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.025em;
    position: relative;
}

.wizard-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #059669, #34d399);
    border-radius: 2px;
}

.wizard-header p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}

/* Wizard Progress Indicator */
.wizard-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
    position: relative;
    padding: 0 10px;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #e5e7eb;
    border-radius: 2px;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-progress::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 20%;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 2px;
    z-index: 2;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 0.4rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.7rem;
    color: #9ca3af;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4), 0 0 0 4px rgba(16, 185, 129, 0.1);
    transform: scale(1.1);
}

.step.active .step-number::before {
    background: rgba(16, 185, 129, 0.1);
}

.step.active .step-label {
    color: #10b981;
    font-weight: 600;
}

.step.completed .step-number {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border-color: #059669;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3);
}

.step.completed .step-label {
    color: #059669;
    font-weight: 500;
}

/* Wizard Steps */
.wizard-step {
    display: none;
    min-height: 450px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    animation: slideInFromRight 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-step.prev {
    animation: slideOutToLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-step.next {
    animation: slideOutToRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInFromRight {
    from { 
        opacity: 0; 
        transform: translateX(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideOutToLeft {
    from { 
        opacity: 1; 
        transform: translateX(0); 
    }
    to { 
        opacity: 0; 
        transform: translateX(-30px); 
    }
}

@keyframes slideOutToRight {
    from { 
        opacity: 1; 
        transform: translateX(0); 
    }
    to { 
        opacity: 0; 
        transform: translateX(30px); 
    }
}

.wizard-step h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-description {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Info Box for Wizard */
.info-box {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #0c4a6e;
}

.skip-option {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 6px;
}

.skip-option p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Review Section */
.review-section {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-section h4 {
    color: #374151;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.review-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.review-item .label {
    font-weight: 500;
    color: #6b7280;
}

.review-item .value {
    color: #1f2937;
    font-weight: 500;
}

/* Terms Section */
.terms-section {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    color: #92400e;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.checkbox-label a {
    color: #92400e;
    text-decoration: underline;
}

/* Wizard Navigation */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.wizard-navigation > div {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.wizard-navigation .btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    min-width: 120px;
}

.wizard-navigation .btn.primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.wizard-navigation .btn.primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
}

.wizard-navigation .btn.secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.wizard-navigation .btn.secondary:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.wizard-navigation .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Step Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    gap: 1rem;
}

.step-navigation .btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    min-width: 140px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.step-navigation .btn i {
    font-size: 0.875rem;
}

.step-navigation .btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.step-navigation .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.step-navigation .btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.step-navigation .btn-primary:hover::before {
    left: 100%;
}

.step-navigation .btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step-navigation .btn-secondary:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-navigation .btn-success {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
}

.step-navigation .btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.step-navigation .btn-success:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.5);
}

.step-navigation .btn-success:hover::before {
    left: 100%;
}

.step-navigation .btn:active {
    transform: translateY(0);
}

.step-navigation .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Field Validation */
.form-group input.error,
.form-group select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

/* Loading State */
.btn.loading {
    position: relative;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: #dcfce7;
    border: 1px solid #22c55e;
    color: #15803d;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Mobile Responsiveness for Wizard */
@media (max-width: 768px) {
    .wizard-container {
        width: 100%;
        padding: 20px;
    }
    
    .wizard-progress {
        margin: 1.5rem 0;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .wizard-navigation .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
        min-width: 100px;
    }
    
    .wizard-step {
        min-height: 350px;
    }
    
    .address-readonly-fields {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .address-section {
        padding: 1rem;
    }
    
    .address-section h4 {
        font-size: 1rem;
    }
}

/* Registration Options Layout */
.registration-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.option-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

/* Role Badge */
.role-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.professional {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

/* Parent Option Styling */
.parent-option {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.parent-option:hover {
    border-color: #059669;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.parent-option .role-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

/* Nutritionist Option Styling */
.nutritionist-option {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #ffffff);
}

.nutritionist-option:hover {
    border-color: #d97706;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

.option-card h3 {
    color: #1f2937;
    margin: 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Benefits List */
.benefits {
    margin: 1.5rem 0;
    text-align: left;
}

.benefits p {
    color: #4b5563;
    margin: 0.5rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Enhanced Buttons */
.option-card .btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 1rem;
    min-width: 180px;
}

.option-card .btn.primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.option-card .btn.primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
}

.option-card .btn.secondary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.option-card .btn.secondary:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-1px);
}

/* Form Group */
.form-group {
    margin-bottom: 25px;
}

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

/* Input Fields */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s ease;
    font-family: inherit;
    background-color: #ffffff;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group textarea {
    min-height: 60px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #66bb6a;
    outline: none;
    box-shadow: 0 0 5px rgba(102, 187, 106, 0.3);
}

/* Field Help Text */
.field-help {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
}

/* Password Requirements (legacy - kept for compatibility) */
.password-requirements {
    display: block;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 12px;
    color: #6b7280;
    clear: both;
    border: 1px solid #e9ecef;
    box-sizing: border-box;
}

.password-requirements small {
    font-weight: 600;
    color: #374151;
    display: block;
    margin-bottom: 5px;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.password-requirements li {
    margin: 2px 0;
}

/* Form Groups - Clean Structure */
.form-group {
    display: block;
    width: 100%;
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    letter-spacing: 0.025em;
    transition: color 0.2s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #cbd5e1;
    background: rgba(255, 255, 255, 0.95);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #10b981;
    box-shadow: 
        0 0 0 4px rgba(16, 185, 129, 0.1),
        0 4px 12px rgba(16, 185, 129, 0.15);
    outline: none;
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label {
    color: #10b981;
}

/* Button */
.register-btn {
    width: 100%;
    padding: 14px;
    background: #43a047;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.register-btn:hover {
    background: #2e7d32;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.form-footer p {
    color: #6b7280;
    margin: 0.5rem 0;
}

.form-footer a {
    color: #43a047;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Back Link */
.back-link {
    text-align: center;
    margin-top: 2rem;
}

.back-link a {
    color: #6b7280;
    text-decoration: none;
}

.back-link a:hover {
    color: #374151;
}

/* Alert Styles */
.alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 14px;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert p {
    margin: 0;
}

/* Error Text - General */
.error-text {
    display: block !important;
    color: #dc3545 !important;
    font-size: 14px !important;
    margin-top: 8px !important;
    font-weight: 500 !important;
    width: 100% !important;
    clear: both !important;
    position: static !important;
    float: none !important;
    line-height: 1.4 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Info Box for Application */
.info-box {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    color: #0c4a6e;
}

.info-box h4 {
    margin: 0 0 0.5rem 0;
    color: #0c4a6e;
}

.info-box ul {
    margin: 0.5rem 0 0 1.5rem;
}

/* Character Counter */
.character-counter {
    text-align: right;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.character-counter.warning {
    color: #ef4444;
}

/* Address Section */
.address-section {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.address-section h4 {
    color: #374151;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #10b981;
    padding-bottom: 0.5rem;
}

.address-readonly-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.address-readonly-fields .form-group input {
    background-color: #f9fafb;
    border-color: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
    font-weight: 500;
}

.address-readonly-fields .form-group label {
    color: #6b7280;
}

.address-readonly-fields .form-group input:focus {
    border-color: #d1d5db;
    box-shadow: none;
}

/* Child Information Section */
.child-info-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.child-info-section h3 {
    color: #374151;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-description {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.privacy-note {
    margin-top: 1rem;
    padding: 1rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
}

.privacy-note p {
    color: #1e40af;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

.privacy-note strong {
    color: #1e3a8a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-container {
        width: 95%;
        padding: 30px 20px;
    }
    
    .registration-options {
        gap: 1rem;
    }
    
    .option-card {
        padding: 1.5rem;
    }
    
    .option-card h3 {
        font-size: 1.25rem;
    }
    
    .benefits p {
        font-size: 0.85rem;
    }
    
    .option-card .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-width: 150px;
    }
    
    .role-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
}

@media (min-width: 769px) {
    .registration-options {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        justify-content: center;
    }
    
    .register-container {
        width: 800px;
        max-width: 95%;
    }
    
    .option-card {
        flex: 1;
        max-width: 350px;
    }
}

/* Date input styling removed (birthday field removed from forms) */

/* Legacy Password Input Container (kept for compatibility) */
.password-input-container {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 0;
}

/* Ensure password form groups have proper structure */
.form-group .password-input-container {
    display: block;
    position: relative;
    width: 100%;
}

/* Success Message Styling */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.3);
    text-align: center;
    z-index: 1000;
    min-width: 400px;
    max-width: 90%;
}

.success-message h2 {
    margin: 0 0 16px 0;
    font-size: 28px;
    font-weight: 600;
}

.success-message p {
    margin: 0 0 24px 0;
    font-size: 16px;
    opacity: 0.9;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.countdown {
    font-size: 18px;
    font-weight: 600;
    color: #e8f5e8;
}

.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}

/* Enhanced animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.success-message {
    animation: fadeInScale 0.5s ease-out;
}

/* Clean Password Field Styles */
.password-field-wrapper {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

.password-field-wrapper input[type="password"],
.password-field-wrapper input[type="text"] {
    width: 100%;
    height: 48px;
    padding: 12px 48px 12px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.password-field-wrapper input:focus {
    border-color: #66bb6a;
    box-shadow: 0 0 0 3px rgba(102, 187, 106, 0.1);
    outline: none;
}

.password-visibility-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 18px;
    border-radius: 4px;
    transition: all 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}

.password-visibility-toggle:hover {
    color: #374151;
    background: #f3f4f6;
}

.password-visibility-toggle:focus {
    outline: 2px solid #66bb6a;
    outline-offset: 2px;
}

/* Password Requirements Styling */
.password-strength-info {
    margin-top: 8px;
    margin-bottom: 12px;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 13px;
    color: #6b7280;
}

.password-strength-info small {
    font-weight: 600;
    color: #374151;
    display: block;
    margin-bottom: 6px;
}

.password-requirements-list {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.password-requirements-list .requirement {
    margin: 3px 0;
    position: relative;
    padding-left: 20px;
    transition: color 0.2s ease;
}

.password-requirements-list .requirement::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
}

.password-requirements-list .requirement.met::before {
    content: "✓";
    color: #059669;
}

.password-requirements-list .requirement.met {
    color: #059669;
}

/* Password Match Indicator */
.password-match-indicator {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.password-match-indicator.match {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #059669;
}

.password-match-indicator.no-match {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

/* Field Error Messages */
.field-error-message {
    display: block;
    width: 100%;
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    line-height: 1.4;
}

/* Hide Laravel validation errors when JS validation is active */
.field-error-message.hidden {
    display: none !important;
}

/* Enhanced Alert Styling */
.alert {
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 12px;
    font-size: 14px;
    border: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
}

.alert-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: currentColor;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.alert-close:hover {
    opacity: 1;
}

.alert-success {
    background: rgba(220, 252, 231, 0.9);
    color: #065f46;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.alert-error {
    background: rgba(254, 242, 242, 0.9);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-info {
    background: rgba(239, 246, 255, 0.9);
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.alert p {
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

/* Loading State */
.wizard-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #10b981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

.wizard-loader p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Real-time Validation Styling */
.field-valid {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.field-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.validation-message {
    font-size: 13px;
    margin-top: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(-4px);
}

.validation-message.valid {
    background: rgba(220, 252, 231, 0.8);
    color: #065f46;
    border: 1px solid rgba(34, 197, 94, 0.3);
    opacity: 1;
    transform: translateY(0);
}

.validation-message.invalid {
    background: rgba(254, 242, 242, 0.8);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.3);
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Enhanced Button States */
.wizard-navigation .btn {
    position: relative;
    overflow: hidden;
}

.wizard-navigation .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.wizard-navigation .btn:hover::before {
    width: 300px;
    height: 300px;
}

.wizard-navigation .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.wizard-navigation .btn:disabled::before {
    display: none;
}

/* Enhanced Progress Steps */
.step {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.step-number {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step.completed .step-number {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.step.active .step-number {
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4);
    transform: scale(1.1);
}

/* Form Field Enhancements */
.form-group {
    margin-bottom: 28px;
}

.form-group:last-child {
    margin-bottom: 0;
}

/* Smooth transitions for all interactive elements */
* {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

/* Prevent layout shift on validation appearance */
.validation-message:empty {
    display: none;
}

/* Enhanced focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* Password Strength Indicator */
.password-strength-indicator {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.password-strength-indicator.strength-weak {
    background: rgba(254, 242, 242, 0.8);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.password-strength-indicator.strength-medium {
    background: rgba(255, 251, 235, 0.8);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.password-strength-indicator.strength-strong {
    background: rgba(240, 253, 244, 0.8);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.password-strength-indicator.strength-excellent {
    background: rgba(220, 252, 231, 0.8);
    color: #047857;
    border: 1px solid rgba(5, 150, 105, 0.3);
}

/* Input Animation on Focus */
.form-group {
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    animation: fieldFocusGlow 0.3s ease;
}

@keyframes fieldFocusGlow {
    0% {
        box-shadow: 0 0 0 0px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1);
    }
    100% {
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    }
}

/* Enhanced Form Labels */
.form-group label {
    position: relative;
    transition: all 0.2s ease;
}

.form-group:focus-within label {
    color: #10b981;
    transform: translateY(-1px);
}

/* Improved Field Help Text */
.field-help {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
    transition: color 0.2s ease;
}

.form-group:focus-within .field-help {
    color: #10b981;
}

/* Mobile enhancements */
@media (max-width: 768px) {
    .alert-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .alert-close {
        position: absolute;
        top: 12px;
        right: 12px;
        margin: 0;
    }
    
    .wizard-loader {
        padding: 24px;
        margin: 0 16px;
    }
    
    .wizard-header h2 {
        font-size: 24px;
    }
    
    .wizard-header p {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Terms and Privacy Section */
.terms-section {
    margin-top: 2rem;
}

.terms-view-notice {
    background: #e8f4fd;
    border: 2px solid #2196F3;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.terms-view-notice i {
    color: #2196F3;
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.terms-view-notice p {
    margin: 0;
    color: #1565C0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.terms-link {
    color: #1565C0;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s;
}

.terms-link:hover {
    color: #0D47A1;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    transition: all 0.3s;
}

.checkbox-label:hover {
    background: #f0f0f0;
    border-color: #66bb6a;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.checkbox-label span {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.checkbox-label .inline-link {
    color: #2196F3;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s;
}

.checkbox-label .inline-link:hover {
    color: #1565C0;
}

/* Disabled submit button styling */
.wizard-navigation button[type="submit"]:disabled {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    box-shadow: none !important;
}

.wizard-navigation button[type="submit"]:disabled:hover {
    background: #cccccc !important;
    transform: none !important;
}
