/* Signup form container styles */
.signup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    background: var(--bg-secondary);
}

.signup-form {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 600px;
}

/* Mobile adjustments - add this section */
@media (max-width: 768px) {
    .signup-container {
        align-items: flex-start;
        padding: 0;
        background: var(--bg-tertiary);
    }
    
    .signup-form {
        padding: 1rem;
        border-radius: 0;
        box-shadow: none;
        max-width: 100%;
    }
}

/* Logo styling */
.signup-form img {
    width: 220px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
}

/* Hide logo after step 1 */
.form-step:not(:first-child) ~ img {
    display: none;
}

/* Progress bar styling */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

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

.progress-step {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.progress-step.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.progress-step.completed {
    background: var(--color-success);
    border-color: var(--color-success);
    color: white;
}

/* Form step styling */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
	text-align: center;
}

/* Form group styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Gender and interest selection buttons */
.button-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.select-button {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.select-button.selected {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* Date of birth inputs */
.dob-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dob-inputs select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-appearance: none; /* For iOS */
    appearance: none;
    font-size: 16px; /* Prevents zoom on iOS */
}

/* Add arrow indicator */
.dob-inputs {
    position: relative;
}

.dob-inputs select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

/* Style country select same as DOB selects */
#country {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-appearance: none;
    appearance: none;
    font-size: 16px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

/* Navigation buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Helper text and validation messages */
.helper-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.error-message {
    color: var(--color-danger);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.visible {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
    }

    .select-button {
        width: 100%;
        font-size: 16px;
        padding: 1.25rem;
    }
}

/* Animation for step transitions */
.form-step {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.form-step.active {
    opacity: 1;
    transform: translateX(0);
}