.top-bar {
  display: -webkit-flex;
  display: flex;
  align-items: center;
  background-color: rgba(167, 167, 167, 0.39);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 10px 20px;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  font-size: 1.5em;
  transform: translateZ(0) scale(1.0); 
  will-change: transform; 
}

.company-logo { height: 100px; margin-right: 15px; transition: transform .3s ease; }
.company-logo:hover { transform: scale(1.05); cursor: pointer; }
h1 { color: #454545; margin-bottom: 25px; font-family: Gill Sans, Segoe UI, Arial; font-weight: normal; font-size: 1.5em; }
.header-tools {
    display: flex;
    align-items: center;
    z-index: 10;
    margin-left: auto;
    position: relative; 
}
.show-button,
.Clear {
  background-color: rgba(255,255,255,.678);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
  color: #666;
  font-weight: normal;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: .8em;
  margin-left: 10px;
  font-family: Gill Sans, Segoe UI, Arial;
  transition: background-color .3s;
}
.show-button { background-color: #e4e4e4; }
.show-button:hover { background-color: #28AD56; color: #fff; }
.Clear:hover {
  background: linear-gradient(135deg, #f34040de, #f34040bd);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0,0,0,.1),
              0 0 1px rgba(255,255,255,.5) inset,
              0 0 1px rgba(0,0,0,.2) inset;
  color: #fff;
}

.Justificacion {
  background-color: rgba(255,255,255,.678);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
  color: #666;
  font-weight: normal;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: .7em;
  margin-left: 10px;
  font-family: Gill Sans, Segoe UI, Arial;
  transition: background-color .3s;
}

.Justificacion:hover {
  background: linear-gradient(135deg, #18529de5, #18529d9a);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0,0,0,.1),
              0 0 1px rgba(255,255,255,.5) inset,
              0 0 1px rgba(0,0,0,.2) inset;
  color: #fff;
}

.isolation-wrapper {
    isolation: isolate; 
    position: relative;
}



.dropdown {
    position: relative; 
    margin-left: 10px;
    z-index: 15;
    transform: translateZ(0); 
    will-change: transform;
    z-index: 1000;
}


.dropdown .icon-btn {
    background-color: rgba(255,255,255,.678);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 10px rgba(0,0,0,.1);
    color: #666;
    border: none;
    border-radius: 5px;
    padding: 6px 12px;
    font-weight: normal;
    font-size: 0.8em;
    cursor: pointer;
    line-height: 1;
    font-family: Gill Sans, Segoe UI, Arial;
  	transition: background-color .3s;
    width: 40px;
    height: 35px; 
}

.dropdown .icon-btn:hover {
    background: linear-gradient(135deg, #18529de5, #18529d9a); 
    color: #fff;
}


.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    isolation: isolate;    
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2));    
    -webkit-backdrop-filter: blur(12px); 
    backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);   
    border-radius: 6px;
    z-index: 10001;
    max-height: 400px; 
    overflow-y: auto;
    min-width: 200px;
    display: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-weight: normal;
    font-size: 0.8em;
    font-family: Gill Sans, Segoe UI, Arial;
}

.dropdown-menu a:hover {
    background-color: #f5f7fa;
}

.dropdown-menu.show {
    display: block;
}
body {
  font-family: Gill Sans, Segoe UI, Arial;
  background-color: #f5f7fa;
  margin: 0;
  padding: 20px;
  color: #333;
  align-items: center;
  padding-bottom: 100px;
  min-height: 100vh;
}

.split-interface {
    display: flex;
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    margin-top: 150px;
}


.left-panel, .right-panel {
    flex: 1;
    padding: 30px;
}

.left-panel {
    
}

h2 {
    color: #18529D;
    margin-top: 0;
    text-align: center;
}

hr {
    border: none;
    height: 1px;
    margin: 15px 0 25px 0;
    background-color: #f0f0f0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset; 

}


.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

select, input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
}


.hidden-options {
    display: none;
    margin-bottom: 20px;
    
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
  	background-color: rgba(255,255,255,.027);
  	backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  	box-shadow: 0 4px 10px rgba(0,0,0,.1);
  	border: 1px solid #cccccc00; border-radius: 6px; font-size: 1em; color: #333;
  	transition: border-color .3s, box-shadow .3s; padding: 15px; width: 100%; box-sizing: border-box;
}

.checkbox-title {
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
}

.checkbox-group label {
    display: inline-block;
    margin-right: 20px;
    font-weight: normal;
}


.generate-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lista-btn {
    background: linear-gradient(135deg, #e4e4e4b2, #e4e4e40e);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0,0,0,.1),
        0 0 1px rgba(255,255,255,.5) inset,
        0 0 1px rgba(0,0,0,.2) inset;
    color: #666;
}

.reporte-btn {
    background: linear-gradient(135deg, #e4e4e4b2, #e4e4e40e);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0,0,0,.1),
        0 0 1px rgba(255,255,255,.5) inset,
        0 0 1px rgba(0,0,0,.2) inset;
    color: #666;
}

.lista-btn:hover {
    background: linear-gradient(135deg, #28ad56de, #28ad569a); 
    color: #fff;
}

.reporte-btn:hover {
    background: linear-gradient(135deg, #18529de5, #18529d9a);
    color: #fff;
}

.generate-btn:hover {
    opacity: 0.9;
}
footer {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background-color: #18529D; color: #fff; padding: 5px;
  font-size: .9rem; display: flex; justify-content: space-between; align-items: center; z-index: 1000;
}
footer p { margin: 0; flex-grow: 1; text-align: center; }

select, input[type="text"] {   
    background-color: #fcfcfc; 
    transition: border-color 0.3s, box-shadow 0.3s; 
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
  	background-color: rgba(255,255,255,.027);
  	backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  	box-shadow: 0 4px 10px rgba(0,0,0,.1);
  	border: 1px solid #cccccc00; border-radius: 6px; font-size: 1em; color: #333;
  	transition: border-color .3s, box-shadow .3s; padding: 13px; width: 100%; box-sizing: border-box;
}
.select-wrapper { position: relative; width: 100%; }
.select-wrapper::after {
  content: '▼'; font-family: Arial, sans-serif; font-size: .7em; color: #333;
  position: absolute; right: 15px; top: 50%; transform: translateY(-50%); pointer-events: none; z-index: 2;
}

