/* Pop up .top-menu-icon */
.modal {
    display: none; /* Hidden by default */
    position: fixed;   /* Stay in place */
    z-index: 1; /* Sit on top */
    right: 10px;
    left: 70%;
    top: 5px;
    width: 400px; 
    height: auto; 
}
.modal-content {
    background-color: #ebfaed;
    margin: 15% auto; 
    padding: 20px;
    width: 300px; 
    box-shadow: 0px 2px 10px rgba(2, 65, 2, 0.158);
    border: 2px solid #888;
}
.h2-head{
    padding-top: 5px;
    font-size: 32px;
    color: #7e4141;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font: bold;
}
.close {
    float: inline-end;
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* password style */
.pass-modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); 
}

.pass-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out; 
}

/* Modal Close Button */
.pass-close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.pass-close:hover,
.pass-close:focus {
    color: #000;
}

/* Form Styles */
#passwordForm {
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="password"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

input[type="password"]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Error Message */
.messageContainer {
    font-size: 14px;
    color: red;
    text-align: center;
}

/* Confirm Button */
.btn-confirm {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-confirm:hover {
    background-color: #0056b3;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.search-content {
    padding: 8px; 
    font-size: 14px; 
    width: 250px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    margin-right: 8px;
}
.search-btn {
    padding: 8px 10px; 
    font-size: 14px; 
    background-color: #3f9e36; 
    color: white; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer;
}