body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}

.signup-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none; /* Let your background image show through */
}

.signup-card {
    background: #111;
    color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    border: 4px solid #fff;
    /*transform: skew(-8deg, -3deg);*/ /*rotate(-2deg);*/
    /*transform: skew(-8deg, -3deg) rotate(3deg);*/
    width: 420px;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.signup-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.signup-form label {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.signup-form input {
    width: 100%;              /* Reduce width from 100% to 90% */
    max-width: 390px;        /* Set a max width for better control */
    /*margin: 0 auto 1.2rem auto; Center the input fields horizontally */
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: none;
    font-size: 1.1rem;
    display: block;
}

.signup-form input#confirm_password {
    margin-bottom: 2.2rem; /* Adds extra space below Confirm Password */
}

.signup-btn {
    background: #b6e2c6;
    color: #222;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 0;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Luckiest Guy', cursive;
    margin-top: 0.5rem;
}

.signup-btn:hover {
    background: #ffe066;
}

.signup-errors {
    color: #ffe066;
    background: #2d2212;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: left;
    border: 1.5px solid #ffe066;
}

.forgot-link {
    color: #ffe066;
    text-decoration: underline;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: color 0.2s;
}
.forgot-link:hover {
    color: #b6e2c6;
}

/* --- New Register Prompt Styles --- */
.register-prompt {
    font-size: 0.95rem;
    color: #fff;
    margin-top: 0.2rem;
    font-family: 'Montserrat', sans-serif;
}

.register-link {
    color: #ffe066;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.register-link:hover {
    color: #b6e2c6;
}

/* --- reCAPTCHA Alignment Classes --- */
.recaptcha-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem 0;
}

/* Fallback fallback rendering scales on small viewports */
@media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.85);
        -webkit-transform: scale(0.85);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}