body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* ===== HEADER ===== */
.header {
    width: 100%;
    background: #6b0f1a;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
    box-sizing: border-box;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-left img {
    width: 35px;
}

.menu {
    display: flex;
    gap: 20px;
    margin-left: 20px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-right img {
    width: 30px;
}

/* ===== MAIN ===== */
.main {
    position: relative;
    height: calc(100vh - 95px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 50px;
    background: #6b0f1a;
}

/* Background image */
.bg-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 99%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
}

/* Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 99%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

/* ===== FORM BOX ===== */
.container {
    width: 340px;
    padding: 50px 25px 40px;
    background: rgba(255,255,255,0.8);
    text-align: center;
    border-radius: 10px;
    position: relative;
    margin-top: -10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Thin corner borders */
.container::before,
.container::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
}

.container::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.container::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Logo */
.logo {
    width: 80px;
    margin-bottom: 15px;
}

h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

/* Inputs */
input {
    width: 75%;
    padding: 10px;
    margin: 6px auto;
    border-radius: 6px;
    border: none;
    background: #eee;
    font-size: 14px;
    display: block;
}

/* Button */
button {
    margin-top: 12px;
    padding: 8px;
    width: 60%;
    border: none;
    border-radius: 20px;
    background: #6b0f1a;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

/* Hidden password */
.hidden {
    display: none;
}

/* Disclaimer text */
.small-text {
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 12px;
    color: #2f2f2f;
    line-height: 1.6;
    margin-top: 40px;
    letter-spacing: 0.2px;
    text-align: center;
}

.container input {
    width: 280px;
}

/* Fixed wider button */
.container button {
    width: 200px;
}

.error-message {
    color: red;
    font-size: 12px;
    margin-bottom: 10px;
    text-align: center;
    display: none;
}

.loading-message {
    color: blue;
    font-size: 12px;
    margin-bottom: 10px;
    text-align: center;
    display: none;
}