body {
    font-family: Arial, sans-serif;
    margin: 10px;
    background-color: #f5f5f5;
}

h1 {
    color: #333;
    text-align: center;
    font-size: 1.8em;
}

.sections-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

#login-form {
    display: flex;
    flex-direction: column;
}

#login-form label, 
#login-form input, 
#login-form button {
    margin-bottom: 10px;
}

section {
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
}

h3 {
    font-size: 1.2em;
    color: #555;
}

h4 {
    font-size: 1em;
}

label, p, ul, button {
    font-size: 0.9em;
}

input, select, button {
    padding: 4px;
    width: auto;
    font-size: 0.85em;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 0.9em;
}

button:hover {
    background-color: #45a049;
}

#delayed-message {
    color: #FF5733;
    font-weight: bold;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
}

.close-button {
    cursor: pointer;
    float: right;
}

.tab-buttons {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.tab-button {
    padding: 5px 8px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

.tab-button:hover {
    background-color: #45a049;
}

.tab-content {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    font-size: 0.9em;
}

/* Hover menu styling */
.hover-menu {
    position: relative;
    display: inline-block;
}

.menu-title {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content a {
    color: black;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show dropdown on hover */
.hover-menu:hover .dropdown-content {
    display: block;
}

/* Only images in the get_by_alt_text or role-section section */
#alt-text-section img,
#role-section img {
    max-width: 80px;
    height: auto;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Make elements in the get_by_role section appear on separate lines */
#role-section button,
#role-section a,
#role-section img {
    display: block;
    margin: 6px 0;
}

#open-locators {
    background-color: #007bff;
}

#open-locators:hover {
    background-color: #0056b3;
}






