/* Logowanie */
.page-template-page-login .site-header {
    display: none;
}
.page-template-page-login-php #page {
    background-image: url('/wp-content/themes/buddyboss-theme-child/assets/images/back-auth.png') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.login-container {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding: 2rem;
    padding-left: 90px !important;
    padding-right: 90px !important;
}

.login-header {
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Bitter', serif;
}

.login-header h1 {
    color: var(--n---black, #000);
    font-family: 'Bitter', serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: -0.14px;
    margin-bottom: 4px;
}

.login-header p {
    color: #000;
    font-family: 'Bitter', serif;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.095px;
    margin-bottom: 20px;
}

.login-header p span {
    font-weight: 600;
}

.login-logo {
    max-width: 72px;
    margin-bottom: 1rem;
}

.auth-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 20px;
}

.auth-tabs a {
    color: var(--n---black, #000);
    text-align: center;
    font-family: "Bricolage Grotesque";
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.085px;
    padding: 0px 13px 13px 13px;
    transition: all 0.3s ease;
}

.auth-tabs a.active {
    color: #000;
    border-bottom: 3px solid #C57C13;
}

.auth-tabs a:hover {
    color: #C57C13;
    border-bottom: 3px solid #C57C13;
}

/* Formularz logowania */
.login-form-container {
    margin-top: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #000;
    font-family: "Bricolage Grotesque";
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: -0.075px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: var(--Gray-500, #828282);
    font-family: "Bricolage Grotesque";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.075px;
}

.login-form input.error {
    border-color: #ff4444;
}

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 70%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #828282;
    padding: 0;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: var(--Gray-600, #595959);
    font-family: "Bricolage Grotesque";
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    letter-spacing: -0.08px;
}

.login-submit input[type="submit"]{
    width: 100%;
    background-color: #C57C13;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-submit:hover {
    opacity: 0.9;
}

.button-loading {
    margin-left: 8px;
}

.login-error {
    color: #ff4444;
    margin-bottom: 1rem;
    text-align: center;
    padding: 15px;
    background-color: #ffeaea;
    border: 1px solid #ffcdd2;
    border-radius: 5px;
    line-height: 1.5;
}

.login-error strong {
    color: #d32f2f;
}

.login-error small {
    color: #757575;
    display: block;
    margin-top: 5px;
}

.login-links {
    text-align: center;
    margin-top: 1.5rem;
}

.login-links a {
    color: #C57C13;
    text-decoration: none;
    font-size: 14px;
}

.login-links a:hover {
    text-decoration: underline;
}

/* Responsywność */
@media (max-width: 768px) {
    .login-container {
        padding: 1rem !important;
    }
}

/* Animacja spinnera */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}
