body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    /* padding: 20px; */
    text-align: center;
    font-family: "Segoe UI";
}
/* Language Switcher Container */
.language-switcher {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

/* Dropdown Button */
.dropdown-toggle {
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent for contrast */
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    color: white;
    backdrop-filter: blur(5px); /* Frosted glass effect */
    transition: background 0.3s ease-in-out;
}

.dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Adds visibility */
    min-width: 120px;
}

/* Language Options */
.dropdown-menu li {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    color: #333;
    transition: background 0.2s ease-in-out;
}

.dropdown-menu li:hover {
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}

/* Flag Icons */
.flag {
    width: 20px;
    height: auto;
}

#alertContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    z-index: 1050; /* Ensures it appears above everything */
}

#alertContainer .alert {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 5px solid;
    font-weight: 500;
    animation: fadeIn 0.5s ease-in-out;
}

.input-hint {
    float: left;
    margin-left: 5px;
}

.form-group label {
    float: left;
    margin-left: 5px;
}

.form-select label {
    float: left;
    margin-left: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#closeModalButton {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

#closeModalButton:hover {
    color: #d9534f; /* Bootstrap danger color */
}

#closeModalButton:focus {
    outline: none;
}

.alert button.close {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
    padding: 5px;
}

.alert button.close:hover {
    color: #d9534f; /* Bootstrap danger color */
    transform: scale(1.2); /* Slight zoom effect */
}

.alert button.close:focus {
    outline: none;
}
