/* ==========================================================================
   AUTH CARD & CONTAINER
   ========================================================================== */
.auth-container {
    padding: 40px 30px 60px; /* Reduced to align correctly with mobile bottom nav bar */
    /* Updated for mobile preview consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.auth-card {
    background: #ffffff;
    width: 90%;
    max-width: 380px;
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    text-align: center;
    margin: 0 auto;
}

.auth-header {
    margin-bottom: 35px;
}

.auth-header h1 {
    font-size: 1.8rem;
    font-weight: 850;
    color: #1e293b;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.auth-header p {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

/* LOGO BOX - FIXED AS PER USER REQUEST */
.auth-logo {
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* REMOVED THE DARK/BLACK BOX */
    border-radius: 4px;
    transition: transform 0.3s ease;
    width: auto;
    height: 60px;
}

.auth-logo:hover {
    transform: scale(1.05);
}

/* FORM ELEMENTS */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-left: 5px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 18px;
    color: #94a3b8;
    transition: color 0.2s;
    pointer-events: none;
}

.auth-input {
    width: 100%;
    height: 56px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 4px;
    padding: 0 20px 0 50px;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.auth-input:focus {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.auth-input:focus+.input-icon {
    color: #3b82f6;
}

/* BUTTONS */
.btn-auth-primary,
.btn-auth-submit {
    width: 100%;
    height: 58px;
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth-primary:hover,
.btn-auth-submit:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-auth-primary:active,
.btn-auth-submit:active {
    transform: translateY(0) scale(0.98);
}

/* FOOTER & LINKS */
.auth-footer {
    text-align: center;
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-footer p {
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
}

.link-auth {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.link-auth:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* GOOGLE AUTH & DIVIDER */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    padding: 0 15px;
}

.btn-google-auth {
    width: 100%;
    height: 56px;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-google-auth img {
    height: 22px;
}

.btn-google-auth:hover {
    background: #f8fafc;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.btn-google-auth:active {
    transform: translateY(0);
}

/* Mobile Fixes */
@media (max-width: 500px) {
    .auth-card {
        padding: 40px 25px;
        border-radius: 0;
        box-shadow: none;
        border: none;
    }

    .auth-header h1 {
        font-size: 1.6rem;
    }
}