


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    min-width: 1200px; /* Ensures the content never shrinks below 1200px */
    overflow-x: auto; /* Allows horizontal scrolling on smaller screens */
}

.header-logo img {
    height: 50px;
}

.header-logo-right img {
    height: 70px;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.header-logo-right {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: center;
}

/* User/Logout */
.user-name {
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
    cursor: pointer;
}

.logout-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.logout-icon {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.logout-icon svg {
    width: 16px;
    height: 16px;
    transition: opacity 0.3s ease;
}

.logout-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    background-color: #212427;
    color: #FAF9F6;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    font-size: 10pt;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    z-index: 1;
}


/* In /css/header.css or your own CSS file */
/* Just an example styling; adjust to fit your needs */

/* Modal background overlay */
.modal {
    position: fixed;
    z-index: 9999; 
    left: 0; 
    top: 0;
    width: 100%;
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.5); 
}
  
/* The modal content box */
.modal-content {
    background-color: #FAF9F6;
    margin: 10% auto; 
    padding: 20px;
    width: 400px;
    position: relative;
    border-radius: 8px;
    box-shadow: 0px 0px 50px 30px rgba(0, 0, 0, 0.15);
}
  
.modal-content h2 {
    text-align: center;
}

/* Close “x” icon */
.close-modal {
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
    font-size: 1.4rem;
}
  
/* Ensure label + input each take a full line */
.modal-content label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 600;
}

.modal-content input:not([readonly]) {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    padding: 6px;
}

.modal-content input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    padding: 6px;
}
  


.modal-content input:focus:not([readonly]) {
    outline: 1px solid #212427; /* or 2px auto black, etc. */
}

/* If you want read-only fields to look a bit gray */
.modal-content input[readonly] {
    background-color: #eee;
    color: #555;
}


  
/* Buttons with black background & white text */
.modal-content button {
    background-color: #212427;
    color: #FAF9F6;
    border: 1px solid #212427;
    border-radius: 2px;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 5px;
    transition: all 0.3s ease;

}
  
/* On hover, invert colors */
.modal-content button:hover {
    background-color: #FAF9F6;
    color: #212427;
}

