body {
    background-image: url("../images/bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2b2b2b;
    font-family: "Inter", "Arial", "sans-serif";
    color: black;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center; /* horizontal centering */
    align-items: center;     /* vertical centering */
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* The Blocker Overlay */
#resolution-blocker {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #171717; /* Matches your sidebar */
    color: white;
    z-index: 9999; /* Sit on top of everything */
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "Inter", sans-serif;
}

.blocker-content h1 {
    color: #55ACEE;
    margin-bottom: 1rem;
}

/* The Logic: Show blocker if Width < 1050 OR Height < 300 */
@media (max-width: 1049px), (max-height: 299px) {
    #resolution-blocker {
        display: flex;
    }
    main {
        display: none; /* Hide the actual app content */
    }
}

#container {
    background-color: white;
    height: 60vh;
    width: 70vw;
    box-shadow: 0 0 10px 8px rgba(0, 0, 0, 0.5);
    padding: 12px;             /* space inside */
    border-radius: 15px;       /* rounded corners */
    display: flex;
    justify-content: center; /* horizontal centering */
    align-items: center;     /* vertical centering */
    flex-direction: column;
}

input {
  padding: 4px;
  border: 2px solid #333;
  border-radius: 5px;
  font-size: 22px;
}

label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; /* prevent text wrap */
    border: 0;
}

#noacclink {
    color: #0000FF;
    margin-top: 12px;
    font-size: 14px;
}

#noacclink:active {
    color: #FF0000;
}

#loginboxheader {
    margin-bottom: 28px;
    font-size: 28px;
}

#loginbtn {
    font-size: 22px;
    padding: 4px;
    background-color: rgb(0, 0, 255);
    transition: 200ms;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

#loginbtn:hover {
    background-color: rgb(0, 58, 255);
}