/* Registration Page Styles */

.registration-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.registration-header {
    position: absolute;
    top: 30px;
    left: 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.registration-card {
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    width: 100%;
    animation: slideUp 0.5s ease;
}

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

.form-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

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

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-indicator.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

.step-label {
    font-size: 0.85rem;
    color: #6b7280;
    white-space: nowrap;
}

/* Form Elements Enhancement */
.mantine-TextInput-root,
.mantine-Select-root,
.mantine-MultiSelect-root,
.mantine-PasswordInput-root,
.mantine-DatePicker-root {
    margin-bottom: 15px;
}

.mantine-TextInput-label,
.mantine-Select-label,
.mantine-MultiSelect-label,
.mantine-PasswordInput-label,
.mantine-DatePicker-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

/* Fitbit Connection Section */
.fitbit-connect-section {
    background: linear-gradient(135deg, #00b4a6 0%, #00968f 100%);
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
    color: white;
}

.fitbit-connect-button {
    background: white;
    color: #00b4a6;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.fitbit-connect-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.fitbit-connected {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    gap: 10px;
}

/* Success Animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
}

.success-checkmark circle {
    stroke: #10b981;
    stroke-width: 2;
    fill: none;
    animation: circle 0.6s ease;
}

.success-checkmark path {
    stroke: #10b981;
    stroke-width: 2;
    fill: none;
    animation: checkmark 0.3s ease 0.6s forwards;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}

@keyframes circle {
    from {
        stroke-dasharray: 0 100;
    }
}

@keyframes checkmark {
    to {
        stroke-dashoffset: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .registration-card {
        padding: 30px 20px;
        margin: 60px 10px 20px;
    }
    
    .progress-steps {
        gap: 10px;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .form-section-title {
        font-size: 1.25rem;
    }
}