.lang-menu {
    position: relative;
    display: flex;
    align-items: center;
    /* outline: 1px solid purple; */

}

.lang-menu .selected-lang {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    color: #1e1e1e;
}

.lang-menu .lang-flag {
    width: 20px;
    height: 14px;
    margin-right: 5px;
}

.lang-menu ul {
    position: absolute;
    top: 20px;
    left: 0;
    margin: 0;
    display: none;
    list-style: none;
    padding: 0;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    z-index: 1000;
}

.lang-menu ul li {
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

.lang-menu ul li:hover {
    background-color: #f5f5f5;
}

.lang-menu ul li a {
    text-decoration: none;
    color: #1e1e1e;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.lang-menu:hover ul {
    display: block;
}



/*--------------------------LOGIN MODAL---------------------------*/

.modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#login-btn {
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.hidden-content {
    display: none;
}

/* Modal container */
#login-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
    background-color: rgba(0, 0, 0, 0.05);
    /* Optional for a slight overlay */
}

/* Login form styles */
.login-form {
    max-width: 400px;
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Centered text for the heading */
.text-center {
    text-align: center;
}

/* Form group spacing */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
}

.btn-block {
    width: 100%;
}

.btn:hover {
    background-color: #0056b3;
}




.logout-btn {
    color: white !important;
    background-color: transparent !important;
    padding: 10px 15px !important;
    border: 2px solid white !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.logout-btn:hover {
    background-color: red !important;
    border-color: red !important;
    cursor: pointer !important;
}


/*-------AREA AYUNTAMIENTOS--------*/

.content-btn {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.content-btn:hover {
    background-color: #0056b3;
}


/* Search box styling */
#searchBox {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    background-image: url('search-icon.png');
    /* Add a search icon if desired */
    background-position: 10px 10px;
    background-repeat: no-repeat;
    padding-left: 40px;
    transition: border-color 0.3s ease;
}

#searchBox:focus {
    border-color: #66afe9;
    outline: none;
}

/* Table styling */
#resultsTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    margin-bottom: 100px;
}

#resultsTable thead {
    background-color: #F35525;
    color: white;
}

#resultsTable td {
    background-color: white;
    color: black;
}

#resultsTable th,
#resultsTable td {
    padding: 12px 15px;
    text-align: left;
}

#resultsTable tbody tr {
    border-bottom: 1px solid #dddddd;
}

#resultsTable tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

#resultsTable tbody tr:last-of-type {
    border-bottom: 2px solid #007bff;
}

#resultsTable tbody tr:hover {
    background-color: #f1f1f1;
}

/* No results message styling */
#resultsTable tbody tr td[colspan="2"] {
    text-align: center;
    color: #888;
    font-style: italic;
}


/* Boton de seleccionar archivo */
.filebtn::file-selector-button {
    color: #fff;
    margin: 0;
    margin-right: 1rem;
    padding: 10px;
    border: none;
    cursor: pointer;
    background-color: #1e1e1e;
    transition: 0.3s ease;
    border-radius: 5px;

}

.filebtn::file-selector-button:hover {
    background-color: #F35525;
}

.filebtn {
    background-color: transparent !important;
    border-radius: 0px !important;
}

#searchButton {
    padding: 10px;
    border-radius: 10px;
    background-color: #1e1e1e;
    color: white;
    transition: 0.3 ease;
}

#searchButton:hover {
    background-color: #F35525;
}