:root {
    --primary-color: #6C63FF;
    --secondary-color: #2A2D3E;
    --background-color: #1A1C2E;
    --surface-color: #2C2F44;
    --text-color: #FFFFFF;
    --text-secondary: #E0E0E0;
    --error-color: #FF6B6B;
    --success-color: #4CAF50;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--background-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    position: relative;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.signup-form {
    background: var(--surface-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar {
    position: relative;
    margin-bottom: 30px;
}

.progress {
    position: absolute;
    height: 2px;
    background-color: var(--primary-color);
    width: 0;
    top: 50%;
    transition: var(--transition);
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.step.active {
    background-color: var(--primary-color);
    color: white;
}

h2 {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 24px;
}

.subtitle {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 14px;
}

.input-group {
    margin-bottom: 24px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: var(--background-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    color: var(--text-color);
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

input::placeholder {
    color: var(--text-secondary);
}

.password-strength {
    margin-top: -8px;
    margin-bottom: 16px;
}

.strength-bar {
    height: 4px;
    background-color: #E0E0E0;
    border-radius: 2px;
    margin-bottom: 4px;
}

.strength-text {
    font-size: 12px;
    color: var(--text-secondary);
}

.button-group {
    display: flex;
    gap: 12px;
}

.next-btn,
.back-btn,
.submit-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.next-btn,
.submit-btn {
    background-color: var(--primary-color);
    color: white;
}

.back-btn {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.next-btn:hover,
.submit-btn:hover {
    background-color: #5B53FF;
}

.back-btn:hover {
    background-color: #EAEAEA;
}

.form-step {
    transition: var(--transition);
}

.form-step.hidden {
    display: none;
}

.avatar-upload {
    text-align: center;
    margin: 20px 0;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.avatar-upload label {
    cursor: pointer;
}

.avatar-upload span {
    font-size: 14px;
    color: var(--primary-color);
}

.verification-code {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.code-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    border: 1px solid #E0E0E0;
    border-radius: var(--border-radius);
}

.verification-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Login form specific styles */
.login-form {
    max-width: 360px;
}

.forgot-password {
    text-align: right;
    margin-top: -8px;
    margin-bottom: 16px;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.form-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .signup-form {
        padding: 20px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    .button-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .verification-code {
        gap: 8px;
    }
    
    .code-input {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .avatar-placeholder {
        width: 80px;
        height: 80px;
    }
}
    
    .signup-form {
        padding: 20px;
    }
    
    .code-input {
        width: 40px;
        height: 40px;
    }

