/* Styling for ImageZen Auth Form */
.imagezen-auth-container {
    max-width: 450px;
    margin: 40px auto;
    padding: 32px;
    background-color: #FFFFFF;
    border: 1px solid #CED4DA;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    font-family: 'Lato', sans-serif;
}

/* Messages */
.auth-message {
    padding: 12px;
    margin-bottom: 24px;
    border-radius: 4px;
    border: 1px solid transparent;
}
.auth-message.auth-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}
.auth-message.auth-error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

/* Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid #CED4DA;
    margin-bottom: 24px;
}
.auth-tabs .auth-tab-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 8px 16px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    color: #6C757D;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px; /* Overlap the container border */
    transition: all 0.2s ease;
}
.auth-tabs .auth-tab-link:hover {
    color: #212529;
}
.auth-tabs .auth-tab-link.active {
    color: #00A99D;
    border-bottom-color: #00A99D;
}

/* Form Content */
.auth-tab-content {
    display: none;
}
.auth-tab-content.active {
    display: block;
}
.imagezen-auth-container h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-top: 0;
    margin-bottom: 16px;
}

/* Form Fields - FIX for aspect change */
.imagezen-auth-container input[type="email"],
.imagezen-auth-container input[type="password"],
.imagezen-auth-container input[type="text"] { /* ADDED text type */
    width: 100%;
    padding: 10px;
    border: 1px solid #CED4DA;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    color: #212529;
    background-color: #FFFFFF;
}
.imagezen-auth-container input[type="submit"].btn {
    width: 100%;
}

/* Links */
.auth-forgot-password-link,
.auth-back-to-login-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: #00A99D;
    cursor: pointer;
}
.auth-forgot-password-link:hover,
.auth-back-to-login-link:hover {
    color: #00877A;
    text-decoration: underline;
}

/* --- NEW STYLES for Password Reset Page --- */

/* Container for JS messages */
#js-message-container {
    margin-top: 16px; /* Space above the message when it appears */
}
#js-message-container .auth-message {
    display: none; /* JS will fade this in */
    margin-bottom: 0; /* No margin below is needed now */
}

/* Container for Generate/Copy buttons */
.reset-actions-container {
    display: flex;
    flex-direction: column; /* Default: stack on mobile */
    gap: 10px;
}
.reset-actions-container .btn {
    flex-grow: 1; /* Make buttons take up equal space */
}

/* On screens wider than 480px, put buttons side-by-side */
@media (min-width: 480px) {
    .reset-actions-container {
        flex-direction: row; /* Side-by-side on larger screens */
    }
}

/* --- END NEW STYLES --- */

/* Social Login */
.auth-social-login {
    margin-top: 24px;
    text-align: center;
}
.auth-social-login h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #6C757D;
    margin-bottom: 16px;
}
.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #CED4DA;
    margin: 24px 0;
}
.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #CED4DA;
}
.auth-separator:not(:empty)::before {
    margin-right: .5em;
}
.auth-separator:not(:empty)::after {
    margin-left: .5em;
}

/* Nextend Social Login specific styles - you may need to adjust these */
.nsl-container-block {
    display: block !important;
    text-align: center;
}
.nsl-container .nsl-button {
    margin: 5px !important;
}