body {
    font-family: "Open Sans", sans-serif;
    background: #0b3d63;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(11, 61, 99, 0.55);
    z-index: 0;
}

#bg-slider {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.box {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 32px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 20px;
    margin-top: 0;
}

.password-wrapper {
    position: relative;
}

#passwordInput {
    width: 100%;
    padding: 10px 40px 10px 10px;
    border-radius: 6px;
    border: none;
    margin: 12px 0;
    box-sizing: border-box;
    font-size: 16px;
}

.toggle-password {
    position: absolute;
    right: 8px;
    top: 60%;
    transform: translateY(-50%);
    margin-top: -6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(11, 61, 99, 0.12);
    color: #0b3d63;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}

.toggle-password:hover {
    background: rgba(11, 61, 99, 0.22);
}

button {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    background: #ffcc00;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

.error {
    color: #ff8080;
    font-size: 14px;
    margin-bottom: 8px;
}

.legal {
    margin-top: 24px;
    font-size: 12px;
    line-height: 1.5;
    color: #d8e6f2;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
}

.legal b {
    color: #fff;
}