.modal-overlay {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-color: rgba(0, 0, 0, 0.7);
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 1000;
}

.modal-content {
   background-color: #1a1a1a;
   border-radius: 8px;
   padding: 1rem;
   padding-right: 1.5rem;
   width: 90%;
   max-width: 400px;
   max-height: 80vh;
   overflow-y: auto;
}

.modal-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 1rem;
   padding-bottom: 0.5rem;
   border-bottom: 1px solid #333;
}

.modal-header h3 {
   margin: 0;
   color: rgba(255, 255, 255, 0.87);
   font-size: 1.1rem;
   font-family: 'Orelega One', serif !important;
   font-weight: normal;
}

.close-button {
   background: none;
   border: none;
   color: rgba(255, 255, 255, 0.87);
   font-size: 1.5rem;
   cursor: pointer;
   padding: 0;
   line-height: 1;
}

.close-button:hover {
   color: #fff;
}

.theme-checkboxes {
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
}

.theme-checkbox {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0.5rem;
   background-color: #2a2a2a;
   border-radius: 4px;
   cursor: pointer;
   transition: all 0.3s ease;
   border: 1px solid #444;
   font-size: 0.9rem;
}

.theme-checkbox:hover {
   background-color: #333;
}

.theme-checkbox input[type="checkbox"] {
   width: 16px;
   height: 16px;
   cursor: pointer;
   margin: 0;
}

/* Estilos personalizados para barras de scroll menos invasivas */
.modal-content::-webkit-scrollbar {
   width: 8px;
}

.modal-content::-webkit-scrollbar-track {
   background: rgba(255, 255, 255, 0.05);
   border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
   background: rgba(255, 255, 255, 0.2);
   border-radius: 4px;
   transition: background 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
   background: rgba(255, 255, 255, 0.3);
}

/* Para Firefox */
.modal-content {
   scrollbar-width: thin;
   scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

/* Ocultar scrollbar cuando no se está usando */
.modal-content:not(:hover)::-webkit-scrollbar-thumb {
   background: rgba(255, 255, 255, 0.1);
}