/* Variables & Reset */
:root {
    --primary-dark: #1a1a1a;
    --secondary-dark: #2d2d2d;
    --accent-green: #00d26a;
    --success-green: #00ff88;
    --error-red: #FF4B4B;
    --step-inactive: rgba(255, 255, 255, 0.2);
    --step-active: var(--accent-green);
    --step-complete: var(--success-green);
    --background-dark: #0f0f0f;
    --card-dark: rgba(45, 45, 45, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--background-dark) 0%, #1a1a1a 100%);
    padding: 2rem;
}

/* Registration Container */
.registration-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-dark);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.5s ease-out;
}

/* Steps Progress Bar */
.steps-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.steps-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--step-inactive);
    transform: translateY(-50%);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: var(--secondary-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.step.active {
    background: var(--step-active);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.4);
    border-color: var(--accent-green);
}

.step.complete {
    background: var(--step-complete);
    border-color: var(--success-green);
}

.step-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Form Styling */
.form-section {
    color: white;
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    color: white;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-green);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 210, 106, 0.1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Form Grid for Multiple Inputs */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

/* Buttons */
.button-group {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    text-align: center;
}

.btn-previous {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-next {
    background: var(--accent-green);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-previous:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-next:hover {
    background: #00b85a;
    box-shadow: 0 4px 15px rgba(0, 210, 106, 0.3);
}

/* Messages and Errors */
.error-message {
    color: var(--error-red);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.messages {
    margin-bottom: 1.5rem;
}

.message {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.message.success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--success-green);
}

.message.error {
    background: rgba(255, 75, 75, 0.1);
    border: 1px solid rgba(255, 75, 75, 0.3);
    color: var(--error-red);
}

/* Focus states for form groups */
.form-group.focused label {
    color: var(--accent-green);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .registration-container {
        padding: 1.5rem;
        margin: 0;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .steps-progress {
        margin-bottom: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}