.auth-container {
    max-width: 420px;
    margin: 20px auto 80px auto;
    padding: 40px;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    position: relative;
    overflow: hidden;
}

.auth-container h1 {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary, #a0a0a0);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Base Styles mimicking Inputs for consistency */
.password-input-wrapper,
.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Standard Inputs padding */
.form-group input[type="text"],
.form-group input[type="email"] {
    padding: 14px 16px;
    height: 50px;
}

/* Wrapper Layout */
.password-input-wrapper {
    display: flex;
    align-items: center;
    padding: 0;
    height: 50px;
    overflow: hidden;
}

/* Wrapper Focus State */
.password-input-wrapper:focus-within,
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    background: rgba(20, 20, 20, 0.8);
    border-color: var(--accent, #00bcd4);
    box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.15);
    transform: translateY(-1px);
    outline: none;
}

/* Password Input */
.password-input-wrapper input {
    flex: 1;
    min-width: 0;
    width: auto !important;
    height: 100%;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    color: #fff !important;
    padding: 0 0 0 16px !important;
    margin: 0;
    font-size: 1rem;
}

/* Toggle Button */
.password-toggle-btn {
    flex: 0 0 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    color: var(--text-secondary, #a0a0a0);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    margin: 0;
    transition: color 0.2s;
}

.password-toggle-btn:hover {
    color: var(--accent, #00bcd4);
}

/* Links */
.auth-container a {
    color: var(--accent, #00bcd4);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.auth-container a:hover {
    color: var(--accent-light, #4dd0e1);
    text-shadow: 0 0 8px rgba(0, 188, 212, 0.4);
}

.d-flex.justify-content-between {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

/* Buttons */
.btn-primary.btn-fullwidth {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent, #00bcd4) 0%, var(--accent-start, #00bcd4) 100%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: none;
    color: #000;
    margin-top: 10px;
    cursor: pointer;
}

.btn-primary.btn-fullwidth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 188, 212, 0.3);
}

/* Google Button */
#g_id_onload,
.g_id_signin {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Footer Link */
.auth-container p.text-center {
    color: var(--text-secondary, #a0a0a0);
    margin-top: 25px;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 540px) {
    .auth-container {
        margin: 0 auto 40px auto;
        padding: 30px 20px;
        width: 92%;
    }

    .g_id_signin {
        width: 100% !important;
    }
}