/* ===================================
   PostVira Auth Pages
   =================================== */

.auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 4rem;
    gap: 1.5rem;
}

.auth-logo {
    margin-top: 2.5rem;
    margin-right: 0.85rem;
    height: 50px;
    width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-logo-img {
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 255, 0, 0.2));
}

.auth-card {
    background-color: var(--color-white);
    color: #111;
    width: 308px;
    border-radius: 18px;
    padding: 2.25rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
}


.auth-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 0.35rem;
}

.auth-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 400;
    margin-bottom: 1.0rem;
    color: #444;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.auth-fields {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: max-height 600ms ease-out, opacity 600ms ease-out, transform 600ms ease-out;
}

.auth-fields.auth-fields-in {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
}

.auth-fields.auth-fields-out {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
}

.auth-fields.auth-fields-open {
    max-height: none;
    overflow: visible;
}

.auth-label {
    font-size:14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #000;
}

.auth-input {
    width: 242px;
    height: 34px;
    padding: 0 0.85rem;
    border-radius: 8px;
    border: 1px solid #000;
    font-size:11px;
    font-family: var(--font-body);
    background-color: #fff;
    color: #111;
}

.auth-input:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.auth-input-group {
    position: relative;
}

.auth-lock {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: #000;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.2rem;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-top: 0.35rem;
    color: #333;
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.auth-link {
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-right: -2px;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-primary {
    margin-top: 0.5rem;
    width: 100%;
    max-width: 242px;
    height: 34px;
    border-radius: 10px;
    border: none;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.auth-primary:hover {
    background: #fff;
    border: 1px solid #000;
    color: #000;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.02rem 0 0.2rem;
    color: #000;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.auth-google {
    margin-bottom: 0.1rem;
    width: 242px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.auth-google:hover {
    background: #000;
    border: none;
    color: #fff;
}

.auth-footer {
    margin-top: 0.65rem;
    font-size: 12px;
    color: #000;
    text-align: center;
    /* font-weight: 600; */
    cursor: pointer;
    font-family: 'Poppins', sans-serif
}

.auth-message {
    min-height: 18px;
    margin: 0.35rem 0 0.6rem;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
}

.auth-message-error {
    color: #b00020;
}

.auth-message-success {
    color: #1a7f37;
}

.auth-google:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.auth-errors {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: #fff3f3;
    color: #b00020;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}
