#user-login-row {
    height: 100%;
    align-items: center;
}


#login-details {
    height: fit-content;
}


.auth-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 1em;
}

.auth-option {
    width: 100%;
    padding: 0.7em 1em;
    display: flex;
    justify-content: center;
    gap: 1em;
    cursor: pointer;
    border-radius: 7px;
    border: 1px solid var(--border-color);
}



.auth-option:hover {
    border-color: var(--border-hover-color);
}

.auth-container-fields {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2em;
}

.auth-button-container {
    width: 100%;
    display: flex;
    gap: 0.5em;
    flex-direction: column;
    align-items: center;
}


.auth-container .auth-title {
    font-weight: 600;
    text-align: center;
    color: var(--font-color);
    font-size: 2em;
}

.auth-container .user-names-input {
    width: 100%;
    display: flex;
    gap: 0.5em;
}

.auth-container input {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: transparent;
    outline: none;
    padding: 0.7em;
    color: var(--font-color);
    width: 100%;
}

.auth-container .first-name, .auth-container .last-name {
    width: 50% !important;
}



.auth-button {
    border: none;
    color: white;
    border-radius: 5px;
    outline: none;
    padding: 0.5em 0.7em;
    width: 100%;
    font-weight: 600;
    display: flex;
    justify-content: center;
}


#sign-up-user {
    background-color: orangered;
}

#login-user {
    background-color: var(--main-color);
}


.auth-switch {
    width: 100%;
    color: var(--font-color);
    text-align: center;
}

.auth-switch .switch-button {
    font-weight: 600;
    cursor: pointer;
}

.auth-switch #sign-up-switch {
    color: orangered;
}

.auth-switch #login-switch {
    color: var(--main-color);
}


.password-container {
    width: 100%;
    position: relative;
}

.password-visibility-toggle {
    position: absolute;
    top: 50%;
    right: 0.5em;
    transform: translateY(-50%);
}





/* Google sign in */
#login-user-by-google {
    background-color: var(--background-color) !important;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
}


.google-icon {
    min-width: 18px;
    height: 18px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3Cpath fill='none' d='M0 0h48v48H0z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}



.legal-info {
    color: var(--font-color);
    font-size: 0.8em;
    width: 100%;
}

.legal-info a {
    color: var(--main-color);
    text-decoration: none;
}


.auth-error-text {
    color: red;
    font-size: 0.7em;
}


.auth-success-text {
    color: green;
    font-size: 0.7em;
    margin-bottom: 0 !important;
}


#user-login-row .separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between text and lines */
    width: 100%;
}

#user-login-row .separator .line {
    flex: 1; /* Makes the line stretch */
    height: 1px;
    width: 50%;
    background: var(--border-color); /* Line color */
}

#user-login-row .separator span {
    font-size: 14px;
    font-weight: bold;
    color: var(--font-color);
    white-space: nowrap; /* Prevent wrapping */
}



#navbar-row {
    position: absolute;
    right: 1em;
    top: 1em;
    padding: 0.5em 1em;
    display: flex;
    gap: 1.5em;
    align-items: center;
    z-index: 9999;
}

.navbar-row-items {
    color: var(--font-color);
    font-size: 1em;
    margin-bottom: 0;
    font-weight: 600;
}


#pricing-page-redirect {
    text-decoration: none;
    outline: none;
}



#user-icon {
    background-color: var(--border-color);
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
    /* Add transparent outline that takes no space initially */
    outline: 0 solid transparent;
}

#user-icon:hover {
    /* Instead of border, use outline which expands outward */
    outline: 3px solid var(--main-color);
    /* Remove !important as it's generally better to avoid when possible */
}

#user-icon span {
    font-size: 1em;
    color: var(--main-color);
}

#user-icon img {
    width: auto;
    height: 100%;
    border-radius: 50%;
}

#user-icon:hover {
    color: var(--main-color);
}
