/* ===== LOGIN ===== */
body {
    background: #0f0f14;
    color: #eee;
    font-family: "Trebuchet MS", sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-box {
    background: #15151f;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 0 30px #000000aa, 0 0 50px #FFD1DC;
    width: 360px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px #FFD1DC, 0 0 70px #ffffff;
}

.login-box h2 {
    color: #FFD1DC;
    text-shadow: 0 0 10px #FFD1DC;
    margin-bottom: 25px;
    font-size: 26px;
}

/* Formularz */
.login-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-box input {
    padding: 12px 15px;
    border: 1px solid #333;
    border-radius: 12px;
    background: #111;
    color: #eee;
    outline: none;
    font-size: 16px;
    transition: 0.3s;
}

.login-box input:focus {
    border-color: #FFD1DC;
    box-shadow: 0 0 10px #FFD1DC;
}

/* Przycisk */
.login-box button {
    background: linear-gradient(135deg, #FFD1DC, #ffffff);
    border: none;
    color: #0f0f14;
    font-size: 1.1rem;
    padding: 14px 0;
    border-radius: 14px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 20px #FFD1DC;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-box button:hover {
    transform: scale(1.08);
    box-shadow: 0 0 35px #FFD1DC;
}

/* Komunikaty błędów */
.login-box p {
    font-size: 1rem;
    color: #ff6b6b;
    text-shadow: 0 0 5px #ff6b6b;
    margin-bottom: 10px;
}

.back-button {
    position: fixed; /* stała pozycja w oknie */
    top: 20px;       /* odstęp od góry */
    left: 20px;      /* odstęp od lewej krawędzi */
    z-index: 1000;   /* nad wszystkimi elementami */
    padding: 8px 16px;
    background: linear-gradient(135deg, #FFD1DC, #ffffff);
    color: #0f0f14;
    font-weight: bold;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 0 15px #FFD1DC;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #FFD1DC;
}
