/*===============================================
  AUTH STYLES (auth-style.css) - v1.1
=================================================*/

.auth-container {
    max-width: 450px;
    margin: 4rem auto;
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.auth-container h1 {
    color: #fff;
    text-align: center;
    margin-top: 0;
    margin-bottom: 1rem;
}

.auth-container p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-field {
    margin-bottom: 1.5rem;
}

.auth-field label {
    display: block;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.auth-field input {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    color: #fff;
    background-color: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-sizing: border-box; /* Important for 100% width */
}
.auth-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.auth-button {
    width: 100%;
    text-align: center;
    padding: 1rem;
}

.auth-link {
    text-align: center;
    margin-top: 2rem;
}

.auth-link a {
    color: var(--primary-color-light);
    font-weight: 500;
    text-decoration: none;
}
.auth-link a:hover {
    text-decoration: underline;
}

.auth-error {
    color: var(--warning-red-text-dark);
    background-color: var(--warning-red-bg);
    border: 1px solid var(--warning-red-border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    /* Hide it by default if it's empty */
    display: none;
}
/* Show the error box only if it has text in it */
.auth-error:not(:empty) {
    display: block;
}

/* =================================== */
/* ===  NEW GOOGLE BUTTON STYLES (v1.1) === */
/* =================================== */

.google-button-new {
    display: flex;
    align-items: center;
    justify-content: center; /* Center text */
    width: 100%;
    height: 44px; /* Standard button height */
    padding: 0 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color); /* Light text */
    background-color: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative; /* For logo positioning */
    box-sizing: border-box;
}

.google-button-new:hover {
    background-color: rgba(255, 255, 255, 0.05); /* Slight glow on hover */
}

/* Position the logo on the left, just like LinkedIn */
.google-button-new .google-logo {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
}

.google-button-new span {
    flex-grow: 1; /* Allows text to be centered */
    text-align: center;
}

.auth-divider {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    line-height: 0.1em;
    margin: 2rem 0;
}

.auth-divider span {
    background: var(--card-bg); /* Match the card background */
    padding: 0 10px;
    color: var(--text-muted);
}