/* Style dedykowane dla strony logowania i rejestracji */
body.auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #0f1117;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.auth-card {
    background-color: #161922;
    border: 1px solid #232733;
    padding: 40px;
    border-radius: 12px;
    width: 400px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.auth-card h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.auth-card h2 span {
    color: #ff4655;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #9ba1a6;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background-color: #0f1117;
    border: 1px solid #232733;
    color: #ffffff;
    border-radius: 8px;
    outline: none;
    font-size: 0.95rem;
    transition: 0.2s;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #ff4655;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #9ba1a6;
}

.form-actions label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    background-color: #ff4655;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

.btn-submit:hover {
    background-color: #e03e4c;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #9ba1a6;
}

.auth-switch a {
    color: #ff4655;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.back-home {
    text-align: center;
    margin-top: 15px;
}

.back-home a {
    color: #9ba1a6;
    text-decoration: none;
    font-size: 0.85rem;
}

.back-home a:hover {
    color: #ffffff;
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    text-align: center;
}

.hidden {
    display: none;
}

/* Styl dla kontenera pola hasła z ikoną oka */
.password-container {
    position: relative;
    width: 100%;
}

.password-container input {
    width: 100%;
    padding-right: 40px; /* Miejsce na ikonkę */
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ba1a6;
    cursor: pointer;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #ffffff;
}

/* Styl dla linku "Nie pamiętasz hasła?" */
.forgot-password {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 15px;
}

.forgot-password a {
    color: #9ba1a6;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password a:hover {
    color: #ff4655;
    text-decoration: underline;
}