/* Stunning Signup CSS - Complete Fixed Version */
.signup-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - var(--header-height));
    background-color: var(--background-color);
    position: relative;
    padding: 2rem 1rem;
}

/* Beautiful background pattern */
.signup-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23FF69B4' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.signup-card {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.15);
    border: 1px solid rgba(255, 105, 180, 0.1);
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

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

.welcome-icon {
    margin-bottom: 1.5rem;
}

.welcome-icon i {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-color), #ff45a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signup-title {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
}

.signup-subtitle {
    color: var(--light-text);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 400px;
}

/* Progress Indicator */
.signup-progress {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255,105,180,0.05), rgba(255,105,180,0.02));
    border-radius: 16px;
    border: 1px solid rgba(255, 105, 180, 0.1);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(255, 105, 180, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-step.active i {
    background: linear-gradient(135deg, var(--primary-color), #ff45a0);
    color: white;
}

.progress-step span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.signup-form .form-group {
    margin-bottom: 0;
}

.signup-form label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--light-text);
    z-index: 2;
    font-size: 14px;
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="password"] {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fafafa;
    color: var(--text-color);
    box-sizing: border-box;
}

.signup-form input::placeholder {
    color: var(--light-text);
    opacity: 0.7;
}

.signup-form input:focus {
    border-color: var(--primary-color);
    background-color: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
    transform: translateY(-1px);
}

.toggle-password {
    position: absolute;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
    z-index: 2;
}

.toggle-password:hover {
    color: var(--primary-color);
}

/* Password Tips */
.password-tips {
    background: linear-gradient(135deg, rgba(255,105,180,0.05), rgba(255,105,180,0.02));
    border: 1px solid rgba(255,105,180,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.password-tips h4 {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 13px;
    color: var(--text-color);
}

.tip-item i {
    color: #28a745;
    font-size: 12px;
}

/* Button Styling */
.signup-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff45a0);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 18px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.signup-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 105, 180, 0.4);
}

/* Links Section */
.signup-links {
    margin-top: 2.5rem;
    text-align: center;
}

.login-prompt {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255,105,180,0.05), rgba(255,105,180,0.02));
    border: 1px solid rgba(255,105,180,0.1);
    border-radius: 12px;
}

.prompt-text {
    color: var(--light-text);
    font-size: 14px;
    margin-right: 0.5rem;
}

.login-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.login-link:hover {
    color: #ff45a0;
    text-decoration: none;
}

/* Footer */
.signup-footer {
    margin-top: 2rem;
}

.features-preview {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255,105,180,0.03), rgba(255,105,180,0.01));
    border-radius: 12px;
    border: 1px solid rgba(255, 105, 180, 0.05);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    text-align: center;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.feature-item span {
    font-size: 12px;
    color: var(--light-text);
    font-weight: 500;
}

/* Error Messages */
.error-message {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    padding: 0.75rem;
    border-radius: 10px;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 13px;
}

.error-message i {
    font-size: 14px;
}

/* Legacy class support */
.login-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #ff45a0;
    text-decoration: none;
}

.login-link p {
    margin: 0;
    color: var(--light-text);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .signup-container {
        padding: 1rem;
    }
    
    .signup-card {
        padding: 2rem;
        max-width: 100%;
    }
    
    .signup-title {
        font-size: 2rem;
    }
    
    .welcome-icon i {
        font-size: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .features-preview {
        flex-direction: column;
        gap: 1rem;
    }
    
    .signup-progress {
        gap: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .signup-card {
        padding: 1.5rem;
    }
    
    .signup-title {
        font-size: 1.8rem;
    }
    
    .signup-form input {
        padding: 1rem 1rem 1rem 3rem;
    }
    
    .signup-form .btn-primary {
        font-size: 16px;
        padding: 1.25rem;
    }
    
    .progress-step i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}