/* Wrapper for full-page centering */
.signup-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--bg-gradient-start),
        var(--bg-gradient-end)
    );
}

/* Card container */
.signup-card {
    width: 100%;
    max-width: 450px;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: fadeSlideUp 0.6s ease;
    text-align: center;
}

/* Title */
.signup-card h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Inputs */
.signup-card input {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 1rem;
    transition: border 0.3s ease;
}

.signup-card input:focus {
    border-color: var(--accent-color-1);
    outline: none;
}

/* Button */
.signup-card button {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid var(--accent-color-1);
    background: transparent;
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.signup-card button:hover:not([disabled]) {
    background: var(--accent-color-1);
    color: white;
    box-shadow: 0 8px 20px rgba(100, 108, 255, 0.4);
    transform: translateY(-3px);
}

.signup-card button[disabled] {
    opacity: 0.7;
    cursor: wait;
}

/* Extra text */
.signup-card p {
    margin-top: 1rem;
    opacity: 0.9;
    color: var(--text-color);
}

.signup-card a {
    color: var(--accent-color-1);
    font-weight: 600;
}

.password-rules {
    text-align: left;
    margin: -0.5rem 0 1rem 0;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.error-message {
    color: #ff6b6b;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Animation */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}