body {
    margin: 0;
    padding: 0;
    min-height: 100dvh;
    background: linear-gradient(
        to right,
        rgba(36, 58, 9, 0.4),
        rgba(140, 78, 133, 0.4)
    );
    position: relative;
    overflow: hidden;
}

body::before {
    content: "";
    position: absolute;
    left: 15%;
    top: 40%;
    transform: translateY(-50%);
    width: 400px;
    height: 80%;
    background: url("/static/images/logo.png") no-repeat center;
    background-size: contain;

    opacity: 0.4;      /* 👈 only image fades */
    pointer-events: none;
}
p {
    padding: 0;
    margin: 0;
}
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    width: 100%;
}
.form-box {
    border: 1px solid black;
     border-top-left-radius: 15px;
    border-radius: 15px;
}
.form-heading {
    background: linear-gradient(
        to right,
        rgba(36, 58, 9, 0.6),
        rgba(140, 78, 133, 0.6)
    );
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 8rem;
    padding-right: 8rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid black;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.error-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 0, 0, 0.2);
}
.form-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0.5rem;
    margin-top: 1.5rem;
}
.input-field {
    width: 80%;
    height: 1.5rem;
    background-color: rgb(240, 240, 240);
    border: none;
    font-size: 0.8rem;
    padding-left: 1rem;
}
.login-btn {
    margin-top: 1rem;
    width: 85%;
    height: 2rem;
    border-radius: 10px;
    border: none;
    background-color: rgba(36, 58, 9, 0.59);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
     transition: all 0.25s ease;
}

.login-btn:hover {
    background-color: rgba(140, 78, 133, 0.59);
    color: white;
    font-weight: 600;
}
