/* Estilos para el botón de reporte */
.kyunix-report-button-wrapper {
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: center; /* Centra el botón si lo deseas */
}

.kyunix-report-button {
    background-color: #dc3232; /* Rojo WordPress */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Espacio entre icono y texto */
    transition: background-color 0.3s ease;
}

.kyunix-report-button:hover {
    background-color: #c02b2b;
}

/* Estilos para el modal */
.kyunix-report-modal-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 99999; /* Asegura que esté por encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7); /* Fondo semi-transparente */
    justify-content: center; /* Centra el contenido horizontalmente */
    align-items: center; /* Centra el contenido verticalmente */
}

.kyunix-report-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px; /* Ancho máximo para el modal */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Animación de entrada del modal */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

.kyunix-report-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.kyunix-report-modal-close:hover,
.kyunix-report-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Estilos del formulario dentro del modal */
.kyunix-form-group {
    margin-bottom: 15px;
}

.kyunix-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: black;
}

.kyunix-form-group select,
.kyunix-form-group textarea {
    width: calc(100% - 22px); /* Ancho completo menos padding y borde */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Incluye padding y borde en el ancho */
    color: black;
}

.kyunix-submit-report-button {
    background-color: #0073aa; /* Azul WordPress */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: 100%; /* Botón de envío a ancho completo */
}

.kyunix-submit-report-button:hover {
    background-color: #006799;
}

/* Mensajes de éxito/error */
.kyunix-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

.kyunix-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.kyunix-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}