/* Moderador Mod - Frontend Styles */

/* Botón de reporte */
.moderador-pmp-report-wrapper {
    margin: 20px 0;
}

.moderador-pmp-report-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d63638;
    color: white;
    border: none;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(214, 54, 56, 0.3);
}

.moderador-pmp-report-btn:hover {
    background: #ba2f31;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(214, 54, 56, 0.4);
}

.moderador-pmp-report-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.moderador-pmp-report-btn.is-reported,
.moderador-pmp-report-btn:disabled {
    background: #e5e5e5;
    color: #666;
    cursor: default;
    box-shadow: none;
    transform: none;
}

.moderador-pmp-report-btn.is-reported:hover,
.moderador-pmp-report-btn:disabled:hover {
    background: #e5e5e5;
    box-shadow: none;
    transform: none;
}

/* Modal */
.moderador-pmp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

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

.moderador-pmp-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.moderador-pmp-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.moderador-pmp-close:hover {
    color: #333;
}

.moderador-pmp-modal-content h2 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.moderador-pmp-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Form */
#moderador-pmp-report-form .form-group {
    margin-bottom: 25px;
}

#moderador-pmp-report-form label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

#moderador-pmp-report-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

#moderador-pmp-report-form textarea:focus {
    outline: none;
    border-color: #2271b1;
}

#moderador-pmp-report-form textarea::placeholder {
    color: #999;
}

/* Form actions */
.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn-submit,
.btn-cancel {
    flex: 1;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit {
    background: #2271b1;
    color: white;
}

.btn-submit:hover {
    background: #135e96;
    transform: translateY(-1px);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-cancel {
    background: #f0f0f1;
    color: #333;
}

.btn-cancel:hover {
    background: #dcdcde;
}

/* Messages */
.moderador-pmp-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    font-size: 15px;
}

.moderador-pmp-message.success {
    background: #d7f0db;
    color: #1e4620;
    border-left: 4px solid #46b450;
}

.moderador-pmp-message.error {
    background: #fce4e4;
    color: #ba2f31;
    border-left: 4px solid #d63638;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .moderador-pmp-modal-content {
        padding: 30px 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-submit,
    .btn-cancel {
        width: 100%;
    }
}
