body {
    background: url('../images/fallback.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    flex-direction: column;
    overflow: hidden;
}

video#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translate(-50%, -50%);
    background-size: cover;
    object-fit: cover;
    object-position: center;
}

.login-container {
    background-color: rgba(50, 50, 50, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 300px;
    text-align: center;
    position: relative;
}

.login-container img {
    max-width: 80%;
    max-height: 150px;
    margin-bottom: 15px;
}

.login-container .form-group {
    margin-bottom: 15px;
    text-align: left;
    position: relative; /* Added for positioning the speech bubble */
}

.login-container label {
    display: block;
    margin-bottom: 5px;
}

.login-container .btn-primary {
    width: 100%;
}

.signup-container {
    margin-top: 15px;
}

.alert {
    background-color: rgba(50, 50, 50, 0.8);
    padding: 10px;
    border-radius: 5px;
    color: white;
    display: inline-block;
    white-space: nowrap;
    transition: opacity 0.5s ease-out;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    min-width: 200px;
}

.alert-danger {
    background-color: rgba(255, 0, 0, 0.8);
}

.alert-email-not-found {
    background-color: rgba(255, 165, 0, 0.8);
}

.fade-out {
    opacity: 0;
}

p1 {
    font-size: 12px;
    text-align: center;
    filter: drop-shadow(5px 5px 10px #000000);
}

.username-email-container {
    display: flex;
    align-items: center;
}

.username-email-container input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.username-email-container span {
    background-color: #007bff; /* Blue background */
    color: white; /* White text */
    font-weight: bold;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-left: 0;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.speech-bubble {
    position: absolute;
    top: -25px;
    left: 0;
    background-color: #dfb200; /* Yellow background */
    color: black; /* Black text */
    padding: 3px;
    border-radius: 5px;
    z-index: 1000;
    display: none;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap; /* Prevent text from wrapping */
}

.speech-bubble:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10px;
    border-width: 10px;
    border-style: solid;
    border-color: #dfb200 transparent transparent transparent;
}

@media only screen and (max-width: 768px) {
    .table-container {
        width: 100%; /* Expand to full width for smaller screens */
    }
}