/* register.css */
:root {
    --primary-green: #4CAF50;
    --dark-blue: #1E3D5C;
    --darker-blue: #1B1E2F;
    --light-text: #F5F5F5;
    --input-bg: #2A2D3E;
    --error-red: #ff4444;
    --success-green: #00C851;
    --warning-orange: #FFA500;
}

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

body {
    min-height: 100vh;
    background: linear-gradient(160deg, var(--dark-blue) 0%, #2C5282 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--light-text);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.container {
    width: 100%;
    max-width: 680px;
    animation: fadeIn 0.5s ease-out;
}

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

.progress-tracker {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 4rem;
    position: relative;
}

.step-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-container.active .step-number {
    background: var(--primary-green);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
}

.step-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    white-space: nowrap;
}

.step-container.active .step-label {
    color: var(--primary-green);
}

.progress-line {
    position: absolute;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    width: 120px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.form-card {
    background: var(--darker-blue);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-container {
    position: relative;
}

.form-control {
    width: 100%;
    height: 52px;
    padding: 0 1rem 0 3rem;
    background: var(--input-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
}

.validation-message {
    color: var(--error-red);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.password-strength {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    background: var(--error-red);
}

.password-requirements {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.requirement.met {
    color: var(--success-green);
}

.btn-submit {
    width: 100%;
    height: 52px;
    margin-top: 2rem;
    background: var(--primary-green);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.sign-in-link {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.sign-in-link a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sign-in-link a:hover {
    color: #45a049;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .progress-tracker {
        gap: 2rem;
    }
}